Hi thanks so much for your reply.
On your first question, you can analyse the variables with standard if statements:
if (temp < 35) { temp=35 ; };
Ok great – I’ll give that a try.
Are you asking how to animate a random selection of those points? If you can explain a bit more what you’re trying to do that would be useful – it’s some kind of live audio visualisation right?
Yes, that’s right. I’m trying to create an audio visualiser. It would be great if the points of the shape (3 – 20) that have been mapped from the amplitude range (35 – 45), could ultimately be randomised, so that the same number of points don’t always correspond to the same unit of amplitude.
Thanks!
</div>