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: Basic Q: Initializing composition with constant value?



Is there a way to initialize a composition with a constant calculated like this:


<Picture 1.png>

I don't want this to run more than once. The constant value is to be used as input for a Math patch.

you would need to add a javascript patch at the end of that chain of patches to remember that value:


if(ouputs[0] == undefined)
outputs[0] = inputs[0];

should copy the value on the input to the output only on the first time


________________________________________________________ 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
References: 
 >Basic Q: Initializing composition with constant value? (From: pete boardman <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.