Search results
102 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
2D Signed Distance Field creation from @thi.ng/geom shapes, conversions, sampling, combinators
The TextDecorator library provides text decoration capabilities for HTML and React apps
Headless 2D shape drawing, filling & rasterization for arbitrary targets/purposes (no canvas required)
Constraint a Rectangle into another by preserving the ratio.
This small library can scale any size according to other size.
MaxRects Algorithm javascript implementation
一个用于图片标注的javascript库,基于canvas,简单轻量,支持矩形、多边形、点、折线、圆形、网格。
Geometry intersection and bounding volume helpers for PEX.
Document, element, mouse and window position and dimension helpers.
Micro library for performing 2D spatial calculations of DOM elements
## Installation
Find the intersection area of multiple client rects
一个用于图片标注的javascript库,基于canvas,简单轻量,支持矩形、多边形、点、折线、圆形。
Get notified when the bounding rect of a component changes
A savvy library to create svg elements and charts with ease
- framework agnostic
- svg library
- charts
- donut
- gauge
- svg
- svg charts
- svg element
- line
- circle
- rect
- polygon
- foreignObject
- sparkline
2D line & convex polygon clipping (Liang-Barsky / Sutherland-Hodgeman)
A tiny React hook to access DOM Rect dynamically
Interpolate 2 rectangles
Functions that map the quads in D3 quadtrees to rects and maps the points as well.
Provides a feature to get cursor position and selection dimension in pixels.