3 ms·
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 writ
by z3t4 11y ago
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.
- pavlov 11y agoI'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.
- bla2 11y agoAt some point, the text editor in chrome's devtools was based on canvas. I don't know if that's still true, though.
- z3t4 11y agoI 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.