rbush
High-performance 2D spatial index for rectangles (based on R*-tree with bulk loading and bulk insertion algorithms)
High-performance 2D spatial index for rectangles (based on R*-tree with bulk loading and bulk insertion algorithms)
Parse any input rectangle format
A packing algorithm for 2D bin packing. Largely based on code and a blog post by Jake Gordon.
A library of intersection algorithms covering all SVG shape types
A library of intersection algorithms covering all SVG shape types
Fast static spatial index for rectangles
A helper to work with rectangular regions in the DOM
A helper to align rectangular regions in the DOM
Maker.js, a Microsoft Garage project, is a JavaScript library for creating and sharing modular line drawings for CNC and laser cutters.
A rectangle react component which can be resized and rotated
High-performance 3D spatial index for cuboids (based on R*-tree with bulk loading and bulk insertion algorithms)
Crop a dimension in a viewport: Compute a rectangle from a zoom ratio and a center point while preserving the dimension ratio.
Constraint a Rectangle into another by preserving the ratio.
A simple box with fixed aspect ratio
Interpolate 2 rectangles
Draw perfect arrows between points or shapes
Computes the area of the intersection of two rectangles.
A function collection for working with rectangles
Client side image cropper directive for AngularJS (rectangular area, aspect ratio, multi-touch)
Adds basic drawing functionnalities to pngjs.