Create a global cycle from which to phasor?

prismspecs's icon

Hey there,

I want to create eight poly~ objects that each control the hue of one light each. I'd like to create a swell effect in which each light is cycling through a variable degree of hues, or perhaps bouncing between (for smoothness). What I see working ideally is having a global cycle running at let's say 2 per second, then having a phasor~ going into that cycle from each poly~. The problem is, you can only have a single phasor~ for each cycle~ it would seem. I'd like to capture a different phase of each cycle; light 1 would be at +1 (value wise), light 2 at .8, light 3 at .5, and so on, know what I'm saying?

Max Patch
Copy patch and select New From Clipboard in Max.

Like this, but with eight.

So is it best to just have a cycle inside each poly? With that, is that a resource hog and is it difficult to sync the cycles to start at the same time?

Chris Muir's icon
Max Patch
Copy patch and select New From Clipboard in Max.

A little modulo math on the phasor~ might do the trick: