3 ms·
1 canvas performance is higher than dom rendering 2 easy to write code github.com/xspreadsheet used table
by myliang 8y ago
1 canvas performance is higher than dom rendering
2 easy to write code
github.com/xspreadsheet used table
- nojvek 8y agoDom gives you a lot more though. Hit testing and events, css text alignment and wrapping. In general, unless you are doing something very simple, replicating the dom and css engine with canvas is an uphill battle. That being said, I love that the xterm terminal uses a canvas renderer and now going to move to a webgl renderer. Terminal like UI with monospaced fonts are an excellent candidate for low level rendering.
- tobyhinloopen 8y agoHow is canvas rendering performance higher than dom rendering when you’re rendering boxes and text...