78 packages found
Get accurate and well named css box model information about an Element 📦
Cross-browser `getBoundingClientRect()` for all Node types
2D/3D shape intersection checks
2D / 3D closest point / proximity helpers
2D convex polygon clipping (Sutherland-Hodgeman)
Text based canvas, drawing, tables with arbitrary formatting (incl. ANSI/HTML)
A max rectangle 2d bin packer for packing glyphs or images into multiple sprite-sheet/atlas
Micro library for performing 2D spatial calculations of DOM elements
A collection of Reacts hooks used in Flywire
Computes a transform between two rectangles the same way as background-size cover
Computes a transform between two rectangles the same way as background-size contain
Turns SVG shapes (polygon, polyline, rect, g) into SVG paths. It can merge groups and apply transforms.
Provides a feature to get cursor position and selection dimension in pixels.
Document, element, mouse and window position and dimension helpers.
Dirichlet/aliased sinc function
Get the current viewport position of target window
to restrict your target to some areas(rectangle)