CanvasPaint is everything Web 2.0 should not be

Some of my favorite reactions to CanvasPaint from the blogosphere so far:
»As proof of concept, it’s impressive and shows how close we are to migrating to a web OS.« —digital alchemy
»Might actually be faster to open it from your browser than to load it from your accessories menu.« —Straydog scraps
»Maybe we don’t need Flash so much after all.« —Adam Rossi-Kessel
»wow this person must have not left the house for months« —Justin Chelf
»HOLY CRAP MSPAINT IN A BROWSER. The Internet, by creating this work of Shakespeare, has proven that it is in fact comprised of an infinite number of monkeys with an infinite number of typewriters.« —del.icio.us user mav.rc
and then of course:
»CanvasPaint is everything Web 2.0 should not be« —Rafe Needleman
December 8th, 2006 at 17:0
Hey. Don’t bother publishing this one, just wanted to resend an e-mail since, well, you didn’t answer so I had no idea if it ended up in the trash.
Apologies if this falls under harassment - I’d just really love to have that flood fill.
The KHTML guys are considering this one, btw, and I’ll nag Opera about it too.
http://m8y.org/js/canvas.xhtml
http://www.whatwg.org/specs/web-apps/current-work/#getimagedatasx
can be done on pixel by pixel basis of course.
Is browser dependant, but functions fine in Firefox 3.0 - wouldn’t surprise me if
You might want to consider an exception try/catch to enable/disable that capability.
December 9th, 2006 at 19:0
Additionally. Wouldn’t want to try it personally, but…
Could you use toDataUrl with a bitmap mime type to parse the image and implement flood fill?
the getImageData thing does seem easier.
December 9th, 2006 at 19:0
Thanks for the pointers… using getimagedata for Firefox 3 and switching the context to opera-2dgame for Opera (which implements getPixel()) seems like a workable solution — it’s definitely on my todo list for next week.
As for bitmap parsing: eh, I think I’ll pass, that’s a bit too wacky even for me :)