detect-collisions
Points, Lines, Boxes, Polygons (also hollow), Ellipses, Circles. RayCasting, offsets, rotation, scaling, bounding box padding, flags for static and ghost/trigger bodies
@thi.ng/vectors
Optimized 2d/3d/4d and arbitrary length vector operations, support for memory mapping/layouts
to-rotated
Rotate an array by a given number of steps