potpack
A tiny library for packing 2D rectangles (for sprite layouts)
A tiny library for packing 2D rectangles (for sprite layouts)
A function collection for working with rectangles
2D point object
Fits a box within a boundary while keeping its original aspect ratio
Minimal (no dependencies) bounding boxes with cool functions such as intersects, containsPoint, union, intersection, ...
Places a box within a boundary using a set of coordinates
Check if two DOM elements intersect
Find connection points on the edges of rectangles for drawing arrows & stuff.
Render a solid square of varying sizes and colors
sprites
A tiny library for packing 2D rectangles (for sprite layouts)
Quadtree for games and simulations
Quadtree for games and simulations
A canvas sector tagging library supporting rectangles, circles, and polygons.