Hello, Is it possible to add curve looping animation to this setup alongside with keeping the start and the end of the curve in the same place? Thanks!
This is my progress so far, where I am stuck at the moment:
The solution seems to me lies in multiplying the inst sizes by offset fraction and adding this to the accumulated sizes field result before sampling the curve length. At the same time when fraction reach 1 the instance index needs to be offset as well. But I am struggling to assemly all this together. The result is jumping or the order is wrong as you can see below.
Yeah, i mean this is just the dirrection to achieve your goal. You need to make some more changes in your node tree to use factors instead of length everywhere. Hope you will figure out next/
already tried similar setups, I was even able to achieve looping (this@zeroskilz approach) , 11 endpoints were moved as well but I need to avoid this, they have to stay in place - thanks anyway
This is the attempt I have been able to achieve so far. However, it only loops the instances as they are distributed along the points:
I set all points on the resampled curve to zero, with all endpoints set to the spline length.
I then use the accumulated field, adding the time/offset modulated by the total value.
Next, I set the X position of the curve points to these values (from step 2) and adjust these points to a new curve, weighting the X position.
Finally, I sample the X and instance index values from this curve and use them as input for the sample curve node applied to the original curve.
nodes: