You can use the Noise patch and look up into the noise field or use the Random patch with "Use Perlin Noise" as suggested which is the default. This was changed in Leopard to address this particular issue.
.xX

On Jul 7, 2008, at 8:43 AM, Christopher Wright wrote:

I was wondering if you had the Random patch in the Iterator. It may be acting like it is getting "invoked" by each new iteration of the sphere.

If that was the case, there would be no coherence. His composition was mostly coherent, but would occasionally jump as though the random patches were re-seeded (which doesn't happen under normal circumstances for the lifetime of a given random patch).

Try having the random patch outside the iterator and brought in as a value. That way the deviation will be less 'random' and give you the slight changes you want. Sounds like it is getting initialized as a new object each time, so the random seed makes the randomness much greater -- it that makes sense.


With the random patch outside of the iterator, each iteration will fetch the same value -- not quite what he wanted. He needed a different but coherent value for each frame, to make random trails of spheres (similar to that one iTunes visualizer). The random patch never gets reseeded -- it gets a seed when you drag it out of the Patch Creator window, and then it keeps that seed forever. Copy/ Pasting it will clone the seed for multiple random patches, but that's the only seed control available short of editing the composition with a plist editor. I'm not quite sure what was happening with his composition.... it wasn't a per-frame or per- iteration seed change (that would produce totally chaotic motion), but every few seconds the whole random output would jump uniformly, as though a new random patch was used (a seed change, as you mention). Not sure...

As an alternative to everything, he could use a Queue patch, and simply store the random's output in a queue -- that way, the random number patch doesn't get invoked several times per frame. Not sure if that would alter its behaviour (would be interesting to know).

--
[ christopher wright ]
[EMAIL PROTECTED]
http://kineme.net/

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected] )
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/asabatelli%40apple.com

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to