sobel-es6
Sobel Algorithm in ES6. DEMO
Install
npm install sobel-es6
or just include the JS file: build/sobel.js
Usage
var canvas = document ctx = canvas image = imagesrc = "../images/cherry.png"image { var w = canvaswidth = imagewidth h = canvasheight = imageheight ctx var result = ctx}
Contribute
Environment
npm install -g babel
Development
The command below will compile the JS file as long as it is modified.
npm start
build
npm run build