I don't know if this is the best solution, but - you could have
separate patches for each shape, all receiving the same color and size
data (and location and whatever else), but use a multiplexer to select
only one at a time to draw - the multiplexer being driven by the
frequency data (passed thru some math patch or something to translate
it into an integer to select an input on the multiplexer). Does that
make sense? Someone else on the list might have a cleaner solution
(especially depending on how you're actually drawing the circle).
On 23 Nov, 2010, at 2:18 PM, adam morten wrote:
I would like to create a circle which reacts to audio input. I want
the circle to change colour with frequency and change size with
volume. I have done this but the part which I am struggling with is
that when the frequency changes I want the circle to change through
a series of shapes in this order; circle, octagon, heptagon,
hexagon, pentagon, square, triangle. So when the frequency is
highest it will be a triangle and when it is lowest it will be a
circle.
Thank you in advance,
Adam _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected]
)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/bmellen%40kosada.com
This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [email protected]