Sunday, July 20, 2008

Quartz and a bit of JavaScript

Ive been experimenting with quartz a bit, in particular, what i can achieve with the JavaScript macro.
so far I've just made a moving button that can change size.
movie of it in action is below.
when the button is clicked on it enables a clear object which blackens the screen. it could however be used to enable any object or macro.
If anybody needs the script Im happy to oblige.





This next one was me experimenting with image generation, the script in this case was just a bit of maths.
I could have done it with maths objects but felt a JavaScript would be simpler.
the colour of the image is based on the x and y position of the mouse.




I will upload more as i make them.

cheers

No comments: