I have a (long) list of x, y tuples that collectively describe the path (i.e., mouse activity selected at a constant speed, despite the inconsistent speeds).
My goal is to revive this path at a constant speed. Thus, I have segments that are curved, and the segments are straight, and the delta-d between any two points is not guaranteed to be the same.
Data such as:
[(0,0), (0,2), (4,6).... ], where the length of this list is ~ 1k-2k points, is there any way, except brute force, to count the lengths of line segments between each point and then designate each n-length with a "frame"?
source
share