If you repeatedly clear canvas/draw with a setInterval of ~100-200ms, looks kind of like the hand-drawn un-stable lines art style of Squigglevision (Dr. Katz / Science Court) :)
Wonderfurl! It makes the kid see how a small algorithm saves time AND produces almost the same results as hand drawn animation. I have to try this myself with my own kids.
Comments (92) 40 threads
Show all comments
Showing thread 1 of 40
EDIT: If folks want to play with a JSFiddle: https://jsfiddle.net/49g2Leqw/9/
Continue this thread — 1 reply
I changed it a little bit to optimise rendering just in case you don't know about 'requestAnimationFrame()' (https://developer.mozilla.org/en-US/docs/Web/API/window/requ...):
https://jsfiddle.net/65q7c5to/
Continue this thread — 4 replies