Skip to content
Advertisement

Tag: lerp

Equidistant points between two points?

I am trying to know equidistant points between two points. For example: The answer that I am expecting is: In this example, with p1, and p2: Always will be a straight line. HowManyParts in this case is the whole distance that is divided something like numpy.linspace() but in two dimensions. Answer Thanks to linearity of the line connecting two points,

Advertisement