HTML5

gtoledo3's picture

It would make a lot of sense if QC had an extra framework that let it manipulate/render to HTML5.

Just saying.

cybero's picture
Re: HTML5

LOL. "Just saying" :-). Whole heartedly agree with you.

A graceful means of translating core QC to a supportable equivalent upon HTML 5 Canvas sounds like a starter.

Throw in the incorporation of an audio API like the Mozilla Minefield and you've got the beginnings of something really exciting, although a simpler level of achievement wouldn't go amiss neither.

QC faces the same sort of stumbling block here that Flash faces in being run on the iPhone & basically any other incompatible devices. Needs a rewrite for that device to be supported and then it would be a publishing settings dialog in Flash or QC. Nice idea [for QC]. Needn't result in a .qtz file though, [ nor a .swf, thinking of Flash].

Means that browser support makes for cross platform QC compositions opens up, possibly to all HTML 5 supporting agents.

usefuldesign.au's picture
Re: HTML5

Are you suggesting a tool for cross-compiling a composition to Javascript, CSS, XML so it's all truly open-platform?

Or the equivalent of a QT framework for use by/in HTML5 that has a few control commands for sizing, starting, pausing, stopping, changing published input values? I noticed on the Apple docs last night there are Javascript commands for Dashboard or a Browser to do all that with a .qtz file already. non-Apple OSs need not apply, do to OSX exclusivity of QC framework.

Are you suggesting an HTML5 compatible framework gets bundled inside Safari? It's been sort of suggested before (by me!) and I think exposing even a part of QC to the WinPC world just makes it a tonne easier for any Company/Org to say yeah let's use QC for this web page/site/project if there is a WinPC solution, even if it's exclusive to Safari, it's a 'Yes we Can' without excluding people on an arbitrary line of OS host.

gtoledo3's picture
Re: HTML5

I'm suggesting that a qtz file be used to drive a library that renders HTML5 web rendering, or a set of patches/nodes that can draw and manipulate images on the HTML5 Canvas Element.

This probably gives background on why I suggest this, and believe it to be a reasonable idea:

http://processingjs.org/

usefuldesign.au's picture
Re: HTML5

That's interesting. It seems like Processing.js running in the Browser with no additional plugins purely JS leverage of Canvas context, wow!

The HTML5 demos Apple put up with release of Safari 5.0.1 using canvas context — like masking a QT movie and vector fonts with effects are impressive too.

That 3D on a 2D canvas of the cloth blowing and trackball viewing was incredible when you think it is native www graphics not .jar or flash. Speed was a bit average but when they get a 3D context that can talk to the GPU, shiza, QC would be very nice tool to do things with.

usefuldesign.au's picture
Re: HTML5

That said, I'd love to see processing.js ported for use inside QC. Pretty much what I've been banging on about re: 2D drawing with basic primitives and a set of tools to construct and transform with.

Imaging a combination of writing the .js code for the highly specific stuff and plugging in Processing.js patches in strings to do more stock kinds of operations on the data objects.