Lurker News

Comments (92) 40 threads

Show all comments

Showing thread 1 of 40

bcjordan4 replies#
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) :)

EDIT: If folks want to play with a JSFiddle: https://jsfiddle.net/49g2Leqw/9/

shihn#
That's true. There's so much randomness in there that every render will likely be unique - every so slightly different from the previous frame.
stuntkite#
This is great. Thank you both for these fiddles. I've been doing a lot of SVG DOM stuff. Mostly tied to maps. I'm excited to try this out.
thomasfl1 reply#
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.

Continue this thread — 1 reply

reacweb#
Works fine on chrome, but it seems too fast on firefox.
hanoz1 reply#
What do all the context transformation lines do in this example? It seems to work just as well with clearRect on its own.

Continue this thread — 1 reply

DiThi#
It's using setInterval on purpose, because with requestAnimationFrame the effect is a bit too fast.
wickedjust1 reply#
Reminds me of the art used in yoshi story. Awesome!
_mrmnmly#
or Ed, Edd n Eddy cartoon :)
gyvastis#
Hahahahaha, nice one!