Possible to Animate on Command

ChazUK's picture

Hi,

I've been trying to develop a composition that will respond to Multicast messages, and then before an action according to what has been set.

Is there a way to start say, a timeline or interpolator when a specific value has been updated within the composition, instead of having it running with the initiation of the composition.

Regards, Charlie

ChazUK's picture
Re: Possible to Animate on Command

*perform an action

cybero's picture
Re: Possible to Animate on Command

Use a Conditional set to a particular time - when true , then starts Boolean switched macro or patch.

ChazUK's picture
Re: Possible to Animate on Command

I want to be able to do an animation at any time, regardless of how long the composition has been running. So it's not reliant on the patch time.

I don't really understand how your solution would work.

cybero's picture
Re: Possible to Animate on Command

if you want to do an animation at any time then a keyboard trigger could work.

my solution would not have worked in the fashion you now specify.

are you also wanting to stop that animation at any time too?

fsk's picture
Re: Possible to Animate on Command

you could set whatever is driving your animation (interpolation, lfo ,timelines,...) to use an external timebase and then use the stop watch patch to provide the time. each time you want to restart the animation you reset the stopwatch.

or you could calculate the time with something like this:

timeForMyAnimation=patchTime-timeWhenIPressedTheButtonOrSomething

which is basically the same thing. i guess the important bit is to use an external timebase.

Gummibando's picture
Re: Possible to Animate on Command

EDIT: hah, fsk beat me to it… but I was faster on QC dev list :)

Hi there,

lazy post…

http://lists.apple.com/archives/quartzcomposer-dev/2010/Sep/msg00065.html

Hope this helps, Oli

ChazUK's picture
Re: Possible to Animate on Command

Thanks Oli,

I did see your post on the dev list. But I didn't know that it had a web view! I thought it was all just emails.

Thanks a lot!