Hi Wiley,

I am impressed by the simplicity of Steves composition. You could also have a 
look at the "Interactive"-Patch which can be used to drag around a 
Billboard-patch. I didn't used it yet, but maybe it is the right patch for you.

For the animation of the particle system: You can setup the timing to "External 
Timebase" in the Particle patch (by right-clicking on it) and set a fixed time 
for it (bigger than 0), then it will stop animating.

Achim Breidenbach
Boinx Software

On 02.11.2011, at 17:53, Steve Mokris wrote:

> Wiley -
> 
>> I'm trying to prototype a sort of draggable star map in Quartz composer- it 
>> would be two layers of randomly scattered stars (each one a repeated .png).
> 
> One option would be to use the built-in Random Generator patch (or a Perlin 
> noise generator, for example), then pass it through some filters to give it a 
> more starfield-like appearance.
> 
>> While the particles are static, when you click and drag with the mouse, each 
>> layer would move at a different rate, creating parallax motion.
> 
> This can be pretty easily achieved using the Sample & Hold patch --- take a 
> sample of the mouse position when the mouse button is pressed, then subtract 
> that starting position from the current mouse position, and you get the 
> delta.  Use another Sample & Hold to maintain the position once the mouse 
> button is released.
> 
> I've posted an example here:
>       http://kineme.net/composition/smokris/StarfieldParallax
> 
> Steve _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Quartzcomposer-dev mailing list      (Quartzcomposer-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/quartzcomposer-dev/achim%40boinx.com
> 
> This email sent to ac...@boinx.com

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

This email sent to arch...@mail-archive.com

Reply via email to