Are there any GUI toolkits built on top of HTML Canvas like swing,swt,gtk or qt? So that it is possible to build applications like applets or flex gui:s inside the html canvas.
views:
1711answers:
8Processing.js is built on top of canvas. It's not the same kind of abstraction as the ones you listed -- it's meant to be a port of Processing.
Mozilla Labs' Bespin project currently uses their own toolkit called Thunderhead. It's written by and for the Bespin developers, but it's a separate project that could be used for anything. You will need a (free) Bespin account to try it, since there aren't any other projects that I know of that use it.
I've never used it, but I know it uses the DOM and a subset of CSS plus it's own CSS-like properties. I doubt the API is very stable though since it's experimental and evolves with the needs of the Bespin developers.
It's not technically built on top of canvas, but take a look at XUL, the language used to define user interfaces in Mozilla products. XUL is a rich, cross platform user interface language, which when combined with HTML5 features like canvas can make some impressive gui's. XUL is fully interoperable with all web technologies supported by Firefox.
Canvas is NOT SVG. Read this link
Be aware that is noy fully supported by all browsers
I'm developing one for my HTML5-based game engine, Tempest Game Engine (or TGE). You can view the webpage at http://tge.stormwarestudios.com/, demos throughout the site.