Skip to content

shevchenkonik/binary-2d

Repository files navigation

binary-2d

A tiny (179 bytes) transformer Canvas to Binary Matrix

CircleCI codecov GitHub

Installation

npm i binary-2d

API

import binary2D from 'binary-2d';

let canv = document.getElementById("your-canvas-element");
let binary = new Binary2D(canv).getBinaryData();

About

Transform Canvas to Binary Matrix

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published