Skip to content

eweitnauer/svg-erase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

svg-erase

An eraser tool for SVG written in javascript.

The main method is in erase.js. It will handle polylines for the drawings and a polyline with a radius for the eraser path.

Clone to your computer, open the index.html file in your browser and drag with your mouse / finger on the svg to see it in action!

Uses the great d3.js library from Mike Bostock.

To setup the testing enviroment, install node.js, then install npm (or does it actually come with node nowadays?). Then run npm install nodeunit on your command line. To run the tests call node_modules/.bin/nodeunit tests.js or just nodeunit test.js if you used the -g option during installing nodeunit.

About

An eraser tool for SVG written in javascript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published