Re: Best way to produce smooth random motion
Subject : Re: Best way to produce smooth random motion
From: Pierre-Olivier Latour <email@hidden >
Date: Mon, 27 Jun 2005 20:06:06 -0700
Delivered-to: email@hidden
Delivered-to: email@hidden
For some reason, I can't get System Time to play well with
Javascript in the screen saver environment. I'm feeding System Time
into a Javascript block and doing
if ( outputs[0] == null )
outputs[0] = inputs[0] % 1.0;
to get a "random" number. It works fine in QC, but comes up NaN in
the screen saver.
I looked into that and there's a bug in JavaScript support in Quartz
Composer. I don't know if there's a workaround it yet.
________________________________________________________
Pierre-Olivier Latour email@hidden
Quartz Composer Architect Graphics & Imaging Team
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.