4 ms·
ok, basically it takes an image, converts it to a canvas, saves that canvas data, detects the edges of the image in the canvas, outlines the edges in black-and-
by magichacker 16y ago
ok, basically it takes an image, converts it to a canvas, saves that canvas data, detects the edges of the image in the canvas, outlines the edges in black-and-white, saves that black-and-white canvas data, too, adds an event handler that onmousemove (iPad: ontouchmove) substitutes a circular region of the "outlined edges canvas data" with the "original image" canvas data - puuhh - that's all. hope you like it.
- callahad 16y agoNeat! You've got a bug with painting along the horizontal edges -- the brush wraps around to the other side, Pac-Man style.
- magichacker 16y agohey, it's a "magic" pic. ok, u r right, it's a bug, will fix.
- ericz 16y agoI thought it was a cool feature, a la snake games