Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best way to produce smooth random motion



On 2005-06-13, at 17:42, Pierre-Olivier Latour wrote:

A basic question - what's the easiest/best way to move an object smoothly around the screen in a random fashion? I've tried iterators and LFOs to generate x and y positions, but the movements seem to be predictable.


Use the Random patch

Thanks - I've started investigating this.

One thing I notice is that if I have two Random patches driving X position and Y position inputs, the object always moves diagonally. Now I understand why - each Random patch produces the same number, so x and y were always equal! I think I was expecting each Random patch to give a different number...

I also need to work out Dave's idea for slowing Random's output down.

Thanks!

Pete


_______________________________________________ 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
References: 
 >Best way to produce smooth random motion (From: pete boardman <email@hidden>)
 >Re: Best way to produce smooth random motion (From: Pierre-Olivier Latour <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.