offset points by angles, displacements, and other points

npm install point-displace
2 downloads in the last week
4 downloads in the last month


Displace points by angles, other points, and displacements.

Mainly used for the line-offset module, this can be useful for certain geometric operations.


a(vector, angle, offset)

ab(vector, angle, angle_b, offset)

dx(vector, dx, dy, angle)

npm loves you