Feedback Loop Interpolation/Latency Issue

As part of a learning experience, Im attempting to reverse engineer the techniques used in this video. My setup uses a feedback loop to iteratively translate points along the X-axis, but I’m encountering issues with maintaining precise resets when reinitializing points to their original positions.

I’m using Vector Length to create the Life condition rather than a time-based approach. In the current setup, I’d expect the points to reset exactly at my defined threshold, but this isn’t happening, likely due to floating-point precision . When I change the inputs of the Matte TOP to make the points “stick” to the threshold (e.g., by using Feedback TOP as Input 0), I can observe some deviation in the X value.

If I let the feedback loop run, these deviations accumulate, causing an unwanted stretching effect that increases exponentially with each iteration.

The project file
unravel ur skull.58.toe (9.9 KB)
is attached. This issue is the highest priority right now. Once resolved, my next steps will be to optimize the transformation, integrate acceleration, adjust the birth position of particles, and finally, move on to adding the plexus-style lines.

I’d appreciate any help or improvements to my network!

Hi @illusive,

phew - this took a a bit of thinking :slight_smile:

It’s actually more a logical issue, not a rounding issue. Your current setup is for all points to loop when they reach x=1. This means though that points located closer to the x=0 will have a longer travel time than points located closer to the looping point. So for the closer to the looping point located points will loop and have traveled quite a distance already before the last points loop. This creates the stretch effect.

Your network therefor needs to account for a non-uniform loop point or basically the points need to loop after traveling for equal time.

Another slight note on your network. You can load OBJ files directly with the Point File In TOP and take care of the normalization via the Point Transform TOP’s Align and Scale parameters on the “Align” page.

cheers
Markus