(01-18-2023, 11:54 PM)trandoductin Wrote: Too many,
to get all the points based on user option to specify speed to walk along the path while applying 3D wobble.
If you apply a wobble, you don't need much accuracy. I would look into pdb.gimp_vectors_stroke_interpolate(path ,stroke,precision). This gives you [length / (2 *precision)] points that approximate the stroke with a polygon (for instance, a 800px stroke with precision 5 yields about 80 points, spaced 10px **on average**). So you get a very fast (even if less accurate) point_at_dist by getting the point in the array (or interpolating between two points in the array).