Search results
102 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Parse any input rectangle format
## Installation
A max rectangle 2d bin packer for packing glyphs or images into multiple sprite-sheet/atlas
A drag & drop utility
Cross-browser `getBoundingClientRect()` for all Node types
2D/3D shape intersection checks
2D / 3D closest point / proximity helpers
Turns SVG shapes (polygon, polyline, rect, g) into SVG paths. It can merge groups and apply transforms.
Get the current viewport position of target window
A handy package to get the bounds of the current text selection in a textarea element
2D polygon clipping / offsetting (Sutherland-Hodgeman, Grainer-Hormann)
Positions a rectangle between inner and outer bounds
Get bounding rect of SVG shape elements.
A collection of Reacts hooks used in Flywire
Rounded canvas rectangles
Math library inspired by Google Closure library
Text based canvas, drawing, plotting, tables with arbitrary formatting (incl. ANSI/HTML)
A state container which provides an interface for retrieving the bounding client rect of a referenced element. The bounding client rect will update each time the window resizes - a behavior which can be turned off by setting the prop `recalcOnWindowResize
Crop a dimension in a viewport: Compute a rectangle from a zoom ratio and a center point while preserving the dimension ratio.
Headless 2D shape drawing, filling & rasterization for arbitrary targets/purposes (no canvas required)