3 ms·
This is amazing. I'm building a little canvas drawing tool myself (http://kritzl.robsite.net http://kritzl.robsite.net -> 'Mal was') and this is great inspirati
by sovok 17y ago
This is amazing. I'm building a little canvas drawing tool myself (http://kritzl.robsite.net http://kritzl.robsite.net -> 'Mal was') and this is great inspiration. Very slick interface and really fast, impressive.
Although the fill tool seems to have a very high tolerance. Fills the whole screen everytime. You could also add line smoothing for the drawing tools. There are reasonably fast algorithms you can use with bezierCurveTo (http://robsite.net/posts/smooth-path-in-canvas http://robsite.net/posts/smooth-path-in-canvas).