3 ms·
Great work! What about rendering it to SVG instead of canvas, with a buffer area around and let the scroll take care of itself?
by htk 3y ago
Great work! What about rendering it to SVG instead of canvas, with a buffer area around and let the scroll take care of itself?
- rowsncolumns 3y agoSVG or HTML adds a lot of DOM nodes when you are displaying lot of textual content. Personally I found canvas easier to work with, scroll performance was better, less browser bugs, drawing was cheaper and scales for large content (using virtualisation or multiple canvas layers)