Live data from Hacker News

Show HN: UI system completely painted on HTML5 Canvas (early demo)

codeclamp.com

11–16 of 16 posts

Re: Show HN: UI system completely painted on HTML5 Canvas (early demo)

#11
IMO this is interesting as a technical exercise, and stops there.

    Its dynamic layout, dynamic stylesheets, customizable
    painting and conceptual simplicity beats modern
    desktop/plugin/platform-locked technologies
That sounds like HTML+CSS+JS.

Bitmap drawing is nothing new. What are the expected advantages of creating a whole new renderer, graphics library, and UI kit inside an enviroment that already offers essentially the same?

Re: Show HN: UI system completely painted on HTML5 Canvas (early demo)

#12
post #5

Firefox 8.0.1: Click on the demo app area, everything disappears.

Thanks for the bug report. I've tested on Firefox 8.0.1 on Windows 7, it works here. Maybe it behaves differently on different operating systems?

i was going to report that one as well.

the rendering sometimes fails too. for example, the button won't show until i click on them. and resizing the windows won't properly render the resulting windows.

firefox 8 also.

Re: Show HN: UI system completely painted on HTML5 Canvas (early demo)

#13
post #5

Firefox 8.0.1: Click on the demo app area, everything disappears.

Thanks for the bug report. I've tested on Firefox 8.0.1 on Windows 7, it works here. Maybe it behaves differently on different operating systems?

Perhaps - I'm on OSX. Tried it in Chrome on the same system and it works fine, so it's definitely an OSX/Firefox issue. Ping me here if you make changes and need someone to retest...

Re: Show HN: UI system completely painted on HTML5 Canvas (early demo)

#14

IMO this is interesting as a technical exercise, and stops there. Its dynamic layout, dynamic stylesheets, customizable painting and conceptual simplicity beats modern desktop/plugin/platform-locked technologies That sounds like HTML+CSS+JS. Bitmap drawing is nothing new. What are the expected advantages of creating a whole new renderer, graphics library, and UI kit inside an enviroment that already offers essentiall…

Couldn't agree more.

Re: Show HN: UI system completely painted on HTML5 Canvas (early demo)

#15
post #10

Earlier quoted context omitted.

Sorry man, this just goes against the grain of the web - the future is imo in using browser as a smart, hw accelerated runtime that is native on every platform, not in creating a dumb/slow proprietary emulation layer inside. Flash has already lost, and whatever good it had (fast accelerated video) has already been made native.

The problem with this is that the web is driven by commitees, so innovation is terribly slow. For example there is no real dynamic layout in web standards, which is crazy. (Look at my v0.1 GridPanel class and compare it to CSS layout...) I want to create a system in which people can create their own components, own layout managers, etc... This thing should not replace the web, but has a place in UI tech research and…

Kind of like Java Applets or Flash?

These are also dead or dying platforms. I don't see a compelling reason for another one to rise, even if it runs atop canvas.

Re: Show HN: UI system completely painted on HTML5 Canvas (early demo)

#16
post #10

Earlier quoted context omitted.

Sorry man, this just goes against the grain of the web - the future is imo in using browser as a smart, hw accelerated runtime that is native on every platform, not in creating a dumb/slow proprietary emulation layer inside. Flash has already lost, and whatever good it had (fast accelerated video) has already been made native.

The problem with this is that the web is driven by commitees, so innovation is terribly slow. For example there is no real dynamic layout in web standards, which is crazy. (Look at my v0.1 GridPanel class and compare it to CSS layout...) I want to create a system in which people can create their own components, own layout managers, etc... This thing should not replace the web, but has a place in UI tech research and…

So, use the web's strengths and create a dynamic layout manager in javascript, that can be defined through some superset of html and css?
Post reply on HN