Hi Dan
Curious if you do see a possibility to make this evolving fwd<>bwd loop behave like a pendulum. I mean that it speeds up exponentially ( ?) to the middle and slows down in the extremes .
in the box below I post your code for the evolving fwd / bwd loop with the straight speed …
segDur = 13;
segOffset = 2;
totalDur = segDur*2-4;
f = timeToFrames(time);
segNum = Math.floor(f/totalDur);
segPhase = f%totalDur;
if(segPhase < segDur)
framesToTime(segOffset*segNum + segPhase)
else
framesToTime(segOffset*segNum + 2*segDur- segPhase - 2)