Hey guys, I have been seeing all the posts on this topic. I'm trying to implement the same thing using an SOP solver using VEX.
My approach is typical, I run a wrangle node over the points, where I calculate the average vector for each point to determine the position of the current point for the next iteration. After this wrangle node, I append a resample node which will resample the curve on each frame and this creates endless growth.
So, instead of resampling on each frame, I would like to divide the curve when the distance between two consecutive points has reached some threshold value that I set before. I don't know how to make this division using vex. I have attached my file below. I just can't figure out how to add a point between those two consecutive points and change the point number in the right order.