If I may follow up on this, could you – or someone else who can – explain to me the modulo operation? I still am not sure if I can wrap my head around it.
t = time%key(numKeys).time;
Let me try though:
– take the duration spanning all keyframes of the current property:
key(numKeys).time
– let “t” loop from 0 to x in time increments every time the above keyframe duration fitted into “time”.
So if I have keyframes ranging over 2 seconds, at 2:01 “t” will start to count from 0 to 2 in the same way as “time” would and do that over and over again.
Is this correct? At least that would make sense to me, I guess 😂