Looping a stripe of quads

hello,

im trying to loop a quad stripe
from the idea its just if the first comes to a certain position the whole stripe is suppose to jump back to a certain point

in the beginning i used the mod to do that since it workes if you have whole numbers

now im trying it with something like a if statement
if first slice is = X than take the input value - Y.

but i dont really get how this is suppose to work since there is this all the values are everywhere at the same time.

so i need framedelay, but i still dont know how i can subtract a value from an iput value just once.
toggle? switch? which is connect via some - knot???

any suggestions how to patch this smooth

i guess in word based programming you would use booleans.
but i never got how this works in v4. must be some toggle-change-switch patch … or something

would be happy for suggestions

thnaks

i’m not sure if i correctly guess what you want, but take a look at the S+A (sample+add) module by woei http://www.vvvv.org/tiki-index.php?page=woei.Modules

;-)

i wasnt exactly looking for that, but i was looking for exactly that on another construction side
so thank you very much !!!

i think maybe its also part of the other solution

we will see

thanks

i’d say there are several solutions without framedelay, like:

quadstripeloop.v4p (3.9 kB)