click_captcha 0.1.29

gen click captcha
Documentation
#!/usr/bin/env -S node --trace-uncaught --expose-gc --unhandled-rejections=strict
var begin, cost, ico_li, gen, img;

import {
  Gen
} from './dist/_.js';

import ICO_LI from './ICO_LI.js';

gen = new Gen(ICO_LI);

begin = new Date();

[img, ...ico_li] = gen.make(500, 600);

cost = new Date() - begin;

console.log('cost', cost / 1000);

await Deno.writeFile('x.avif', img);