I built a CHOP network to change the Index value of a Switch TOP.
And turned Blend on to give it a morphing effect.
Keyboard In CHOP → Count CHOP (with Loop Min/Max) → Lag CHOP → Null 1
Switch TOP:
index = op(‘null1’)[‘k1’]
blend = 1
The problem is… when the Count value hits its max (6, in my case), the value goes 6 → 0 (as it should), blending through all the others inputs until it hits 0.
But I would like to blend between only image 6 to image 0.
It doesn’t seem like there’s an easy way to do it. I added your RFE to make it simpler.
In the meantime I made a little network that I think will do what you need. Basically, you add the first image after the last and then switch back to the first when that final image is fully switched on. looptop.toe (3.9 KB)
Hey, Ivan!
Thanks for reaching out.
That was pretty smart, loved your solution. It’s really incredible how TouchDesigner can make a lot of things with a few OPs.
Unfortunately on my case the changes need to be triggered by a button press, so I can’t use the LFO.
But your network gave me some ideas to try!