# Math Chop To Count Chop

Hey there,

I got this Math Chop counting up and want a Count to cycle from 1-6 in the same rate. Must be real easy, but I just can’t get my head around how I would trigger that. It The Count just triggers at a curtain number and then it stops. Hope someone can help.

Hi Tim,

A Count CHOP can count up on “Off to On” but can also count up continuously “While On”. You can control these setting on the Count Parameter Page of the CHOP.
That page also has a “Limit” parameter for you to set the Loop condition.

cheers
Markus

Hey Markus,

thanks for the reply. Yes, I already tried that, but it cycles way to fast trough the loop. I want the same rate as the math chop counting up the numbers.

Hi @TimLoose,

can you share an example - I’m not completely clear on the structure of your project and request.

cheers
Markus

WheelOfFortune.43.toe (29.1 KB)

I hope it’s understandable. You trigger the panel with the mouse in perform mode.
It’s about the math3 to count3. I want the count to cycle trough 1-6 in the same rate as the math.
It’s a wheel of fortune situation where the math counts the fields of the wheel and with the count I could see on what kind of field it lands in the end and trigger a video with it.

or maybe there is a better solution to the whole thing. In the end I want to trigger a certain video to the field it stopped on.

Hey @TimLoose,

the difficulty is that the speed of the rotation is changing over time. In theory you would have to adjust the increment value to the slope.

Otherwise add a Math CHOP after the Speed CHOP to add 30 degrees to the value (0 rotation point is half way into a segment) Next add a Limit CHOP which you loop between 0 and 360. Add another Math to convert to Integers (Floor) and re-range the values from 0-360 to 0 to 6. The output from this should be the segment you are on.

cheers
Markus
WheelOfFortune.44.toe (30.1 KB)

Alright, that’s it. Thank you very much for your help!