views:

1711

answers:

8

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.

A: 

Processing.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.

Lou Franco
A: 

Raphael looks really interesting too.

hgimenez
Isn't that SVG, not canvas?
kangax
Yes it is. My bad.
hgimenez
+2  A: 

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.

Matthew Crumley
A: 

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.

Eric Strom
A: 

Canvas is NOT SVG. Read this link

Be aware that is noy fully supported by all browsers

Daniel Luyo
A: 

Actually, I'm developing one :D

http://code.google.com/p/jsool/

A: 

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.