News for hackers. Stuff that matters.
Re:Picozu - the HTML5 Adobe Photoshop clone by tomku on Tuesday February 28, 2012 @09:53AM (#3643331)
For anyone curious about exactly why the brush tool comes up short:

http://i.imgur.com/E0LdU.png

It relies on a stamp-like drawing method of copying the brush at time intervals, and simply can't do it fast enough for even moderately quick drawing.

Re:Picozu - the HTML5 Adobe Photoshop clone by figglesonrails on Tuesday February 28, 2012 @12:44PM (#3644028)
Odd. I thought the general algorithm was to record a number points where the user traced, interpolate between them (so you don't end up with giant discontinuities), and THEN rubber stamp on the full list. That drawing looks like my attempt a pencil tool when I was using BASIC back in the day.

Of course, if the program can't keep up with that, then the drawing would appear to lag behind the pen.

Re:Picozu - the HTML5 Adobe Photoshop clone by tomku on Tuesday February 28, 2012 @01:20PM (#3644184)
If I had to guess, I'd say that the pencil uses solid brushes and the "right" algorithm because it performs acceptably in that case, while the brush tool stamps instead because it can't keep up using that algorithm with an antialiased brush.
Re:Picozu - the HTML5 Adobe Photoshop clone by cmf028 on Tuesday February 28, 2012 @10:19AM (#3643416)
Interestingly, the pencil tool doesn't have this limitation. Even when turning the size up.