Skip to content

Animated drawing of an SVG onto a html canvas element

License

Notifications You must be signed in to change notification settings

smilinfoo/svg_draw_in

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#TODO

  1. return total path actions
  2. requested updates - trigger each one.
  3. define layer
  4. test multiple
  5. deal with size
  6. Do we need jest (or mocha as second option)

#Longterm#

  1. Add fill
  2. By length
  3. color from node?

#Build#

  1. run npm install
  2. run npm run build
  3. dist folder will contain js packaged for npm or vanilla js

Canvas size is set based on svg size attributes. The canvas can then be made larger or smaller using css. speed can be set as an svg attribute

About

Animated drawing of an SVG onto a html canvas element

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published