English Translation - JavaScript for Quartz Composer

cybero's picture

With the kind permission of Kazuhiro Furuhata, I have translated his JavaScript for Quartz Composer guide and have placed this for browsing here.

There is also a zipped file of the entire guide available for download, so you may peruse the edition offline too

Having just completed the restyling , editing and translation check, I might just get down to reading through this once I've got some more spare time, but sadly sci-fi TV doth beckon.

Credit of course to the original author of the guide, Kazuhiro Furuhata, who can be contacted via his website

leegrosbauer's picture
Thanks so much!

Of the several linked downloadable script samples that I looked at so far, all came in the form of individual quartz compositions which included a precoded javascript patch pertaining to the javascript function under consideration. The composition viewer displays the resulting outcome.

Really useful studies! Thank you sincerely for your translation efforts and generosity in hosting the project.

cybero's picture
English Translation - JavaScript for Quartz Composer - Update

Update on the Quartz Composer JavaScript Guide.

1 - Many an error of translation corrected in the class description pages & code. Do advise if you find any more. I'm sure I've skipped a few.

2 - Updated the look & feel. Easier on the eye - I hope.

3 - Added a Quartz Composer resources page.

Future developments

I have translated each Quartz Composer file's patch scripts into English.

I shall be placing these updated translated scripts onto the site, adjacent to the QC2 conformant versions. Expect colour coded differentiation between the two.

These shall also contain a QC3 conformant JavaScript patch example, so you might need to be careful if trying to edit that in QC2 - I honestly don't know if it will cause a problem, but given the tendency of QC to beach ball if one has a live rendering happening whilst one's concurrently editing the script patch of that composition - well :-)

leegrosbauer's picture
Re: English Translation - JavaScript for Quartz Composer - ...

Thanks yet again!

Useful and attractive!

gtoledo3's picture
Re: English Translation - JavaScript for Quartz Composer - ...

May I request javascript Tetris?

cwright's picture
Re: English Translation - JavaScript for Quartz Composer - ...

It's not tetris, but funny you should ask...

PreviewAttachmentSize
DH.pre_.png
DH.pre_.png84.02 KB

dwskau's picture
Re: English Translation - JavaScript for Quartz Composer - ...

I really hope that works with the Wiimote!

s.rozsa's picture
Re: English Translation - JavaScript for Quartz Composer

Yeah, yeah! A javascript Tetris with TUIO support so that i can turn and push the blocks with my fingers :-)))))

cybero's picture
JavaScript for Quartz Composer - TETRIS

For those wanting some well worked examples of Tetris using JavaScript in QC to work upon - do try the following - they both use QC2 patch and would need some reworking for the QC3 patch.

DasGenie's Compositris - [2006] which works right out of the box.

&

Will Thimbleby's Tetris - [2005] - which almost works.

Of course , there is always more than one way of making Tetris;

& why not :-)

gtoledo3's picture
Re: English Translation - JavaScript for Quartz Composer - ...

Lol, well I could throw a few dozen ROM in QC screenshots up here if we are going that route :o)

Oooh, Quicklook.

Now if this is QC "without" loading ROM's .... woah.

I have a buddy (had our highschool garage band together, etc) that does a lot of web stuff revolving around Ruby and javascript... he keeps talking about setting up Tetris in javascript from scratch as a little challenge for himself.

gtoledo3's picture
Re: English Translation - JavaScript for Quartz Composer - ...

PreviewAttachmentSize
tetrisqc.jpg
tetrisqc.jpg113.84 KB

cybero's picture
Re: English Translation - JavaScript for Quartz Composer

The Regular Expression section is now completely fleshed out, including the deprecated properties and methods.

What surprised me the most was that QC still supports these properties and methods. It also supports the new[ish] sticky flag, as does Safari 4 and Firefox 3.

I shall now begin to tighten up the classifications and commence uploading some more useful examples in a separate section of the JavaScript Guide. These will be more contextual to the composition's requirements, rather than being a simple reference collection.

I shall also be updating the PDF, offline version.

Will advise when this has been done.

Hope some find that useful.

P.S Any errors or omissions, please do advise.

translationmen's picture
Re: English Translation - JavaScript for Quartz Composer

Hi and thanks for the translation.I'm german and spanish translator so can help to tranlate it to thoose languages?

Regards,

Chris

German Translation Specialist

cybero's picture
Re: English Translation - JavaScript for Quartz Composer

Thanks for the offer, but I have called a halt on any further translations until I have furnished the site with some examples and tutorials.

As you no doubt can see, I have incorporated an automatic Google Translation menu on the main page of the site, indeed on all my current reference and gallery sites for Quartz Composer.

Cheers & welcome to the Quartz Composer list :-)

cybero's picture
Re: English Translation - JavaScript for Quartz Composer

Nice of you to offer, and welcome to the Kineme forum by the way, Chris.

I'm not planning to extensively translate any further than the Google translation bar allows for the time being, which is quite a lot anyway.