# math for clone component

Hello,

I have 5 clones of a component, which purpose is to process data with different settings (for instance different color steps with hue so that each clone colors differently)

I’ve been wondering what would be the easiest way to calculate input data for each clone but I couldn’t get this to working example.

I’ve been thinking of doing it like this:
make a constant/table with clone numbers 1, 2, 3, 4, 5 …
make a constant with a step value
multiply each clone number with step value and send it to clone input
so I would get similar input values for the component clones:
1 * step
2 * step
3 * step
… etc.

What is the easiest / most elegant way to do this with touch designer?

Thanks a lot for help

If you want the step value to be the same for each channel then use a constant chop with your clones #'s in each channel and then another constant for your step value. Then use the math chop (with your clone # constant connected first) set to multiply chops and your step value will multiply each of the constant’s channels. If you want a different step value for each then just have an equal number of channels in the step constant chop.

cheers
keith