node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป

fd-body-2d

fd-body-2d

Representations of various 2D bodies.

fd-body-2d is concerned with the size/shape of bodies only and not their position in 2D space.

Includes:

  • AABB
  • Circle
  • Polygon
  • Line segment
  • Line, including horizontal/vertical-axes as special cases