Re: Basic Q: Initializing composition with constant value?
- Subject: Re: Basic Q: Initializing composition with constant value?
- From: Pierre-Olivier Latour <email@hidden>
- Date: Wed, 13 Jul 2005 08:25:42 -0700
- Delivered-to: email@hidden
- Delivered-to: email@hidden
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
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.