4 ms·
Very cool. The performance is what it is because the everything is being treated as nodes in an html document. There is a lot of overhead in making that work.
by asimpletune 3y ago
Very cool. The performance is what it is because the everything is being treated as nodes in an html document. There is a lot of overhead in making that work.
Does anyone have a link to examples of the inverse? Like, "2d, html-style text documents, but implemented entirely in canvas".
- vintagedave 3y agoYes - Google Docs implements the document page rendering via canvas. It replaces the previous implementation which used HTML for layout. https://zapier.com/blog/google-docs-canvas-based-rendering/ https://zapier.com/blog/google-docs-canvas-based-rendering/ https://workspaceupdates.googleblog.com/2021/05/Google-Docs-Canvas-Based-Rendering-Update.html https://workspaceupdates.googleblog.com/2021/05/Google-Docs-...
- thomascgalvin 3y agoFor your inverse example, isn't that how Flutter renders?