Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Reading this article was a fresh breeze.

The Canvas is very easy to work with. You can forget about JQuery and everything else concerning the DOM and just write pure JavaScript. I've even started working on a canvas based text editor.



I've even started working on a canvas based text editor.

Careful! Mozilla tried that as far back as early 2009 (the project was called Bespin, you can google for "mozilla bespin canvas" to find out more).

The canvas-based approach was eventually abandoned and the project merged into Ace, a more traditional DOM-based editor.


I did some research before I started and read about Bespin. I don't think they merged into Ace because of the Canvas. It was probably because another team on the same company also worked on an editor, witch had the same goals, and aimed for the same market.


At some point, the text editor in chrome's devtools was based on canvas. I don't know if that's still true, though.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: