Search results

102 packages found

Parse any input rectangle format

published version 1.2.0, 7 years ago10 dependents licensed under $MIT
605,189

## Installation

published version 0.82.1, 16 hours ago3 dependents licensed under $MIT
531,724

A max rectangle 2d bin packer for packing glyphs or images into multiple sprite-sheet/atlas

published version 2.7.3, 3 years ago43 dependents licensed under $MIT
37,132

A drag & drop utility

published version 1.3.6, 8 years ago29 dependents licensed under $MIT
23,880

Cross-browser `getBoundingClientRect()` for all Node types

published version 1.0.5, 10 years ago14 dependents licensed under $MIT
6,196

2D/3D shape intersection checks

published version 4.0.30, 20 hours ago12 dependents licensed under $Apache-2.0
3,156

2D / 3D closest point / proximity helpers

published version 2.1.158, 20 hours ago4 dependents licensed under $Apache-2.0
2,933

Turns SVG shapes (polygon, polyline, rect, g) into SVG paths. It can merge groups and apply transforms.

published version 1.0.1, 3 years ago2 dependents licensed under $ISC
2,744

Get the current viewport position of target window

published version 0.1.1, 8 years ago1 dependents licensed under $MIT
2,936

A handy package to get the bounds of the current text selection in a textarea element

published version 3.0.3, a month ago0 dependents licensed under $MIT
2,129

2D polygon clipping / offsetting (Sutherland-Hodgeman, Grainer-Hormann)

published version 2.1.162, 20 hours ago2 dependents licensed under $Apache-2.0
2,361

Positions a rectangle between inner and outer bounds

published version 1.0.1, 6 years ago2 dependents licensed under $MIT
1,872

Get bounding rect of SVG shape elements.

published version 2.0.8, 2 years ago7 dependents licensed under $ISC
1,523

A collection of Reacts hooks used in Flywire

published version 4.0.0, 2 months ago0 dependents licensed under $MIT
1,522

Rounded canvas rectangles

published version 0.0.1, 12 years ago2 dependents
1,390

Math library inspired by Google Closure library

published version 0.12.0, 11 years ago0 dependents licensed under $BSD-2-Clause
1,326

Text based canvas, drawing, plotting, tables with arbitrary formatting (incl. ANSI/HTML)

published version 3.0.54, 20 hours ago3 dependents licensed under $Apache-2.0
922

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

published version 0.1.22, 6 years ago3 dependents licensed under $MIT
872

Crop a dimension in a viewport: Compute a rectangle from a zoom ratio and a center point while preserving the dimension ratio.

published version 0.0.0, 10 years ago10 dependents licensed under $ISC
539

Headless 2D shape drawing, filling & rasterization for arbitrary targets/purposes (no canvas required)

published version 1.0.133, 19 hours ago0 dependents licensed under $Apache-2.0
583