(You should go ahead and "Reply All" in a case like this so the list sees your response too, in case someone else can answer quicker and/or more usefully than whoever you're responding to.)

I don't know how you're drawing your circle to begin with, so I'm not sure how best to modify your existing composition. Perhaps just read the shapes in from image files and display them on sprites or billboards?

On 23 Nov, 2010, at 3:19 PM, adam morten wrote:

Thank you for the reply!

That makes sense but I'm not sure how to create the different shapes in the first place. Any ideas?

Thanks,
Adam

On 23 Nov 2010, at 19:28, Bradley Mellen wrote:


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]

Reply via email to