1.0.4 • Published 6 years ago

js-canvas v1.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

js-webcam

A simple utility for canvas operations.

Using

install from npm

nmp -i js-canvas

you can create a canvas in the document:

import Canvas from 'js-canvas';

here you can create a canvas for any operation.

const width = 800;
const height = 600;
const canvas = Canvas.create(width, height);

also you can put a image data in the create method

const imageData = new ImageData();
const canvas = Canvas.create(width, height, imageData);
1.0.4

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago