1.1.2 • Published 2 years ago

captcha3d v1.1.2

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Installation:

npm install

Dependencies:

canvas

Usage:

captcha3D({
    text: '123'
}).generate().then(frames => console.log(frames));

Options:

chars: '01234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefjhijklmnopqrstuvwxyz', // chars for generation
count: 4, // chars count

text: { // text options
  font: '26px Monospace',
  x: 0,
  y: 22
},

hypot: 8, // polygons
xWidth: 140, // polygons * pixels
yHeight: 50, // polygons * pixels
yOffset: +5, // x position of board
xOffset: -5, // y position of board
zAngle: 0.158248290464, // rotation angle of board
frames: 10 // frames count
1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago