Search code examples
htmluser-interfaceframeworkscanvas

Are there any HTML5 UI frameworks that render to canvas instead of using HTML elements?


I realize that some people think it is crazy to re-implement all the UI functionality of HTML in a canvas-based framework (and there are some stackoverflow questions that suggest this), but is anyone actually working on a library like this?

To clarify, the library would render all UI elements like edit boxes, labels, buttons, combo boxes, list views, etc. on the canvas directly. There would be no HTML or CSS.


Solution

  • I stumbled upon this idea today. Found the library Zebra. Haven't tried it out yet.

    https://zebkit.org/

    For web apps I think this makes perfect sense. HTML/CSS is just not good enough to create stable apps easily. The DOM and layouts are just too quirky and the performance too low.

    What we need is something like Silverlight but without the plugin. Stable components and a great framework.

    Canvas apps could be made just as accessible as html web apps. Probably more so even.

    Perhaps WebGL is even better, its performance is definitely better than Canvas if done properly.