Search results
105 packages found
一个用于图片标注的javascript库,基于canvas,简单轻量,支持矩形、多边形、点、折线、圆形、网格。
Get notified when the bounding rect of a component changes
Get bounding rect of SVG shape elements.
Dirichlet/aliased sinc function
Get the current viewport position of target window
Turns SVG shapes (polygon, polyline, rect, g) into SVG paths. It can merge groups and apply transforms.
Draw images and shapes on the specified line segment
A drag & drop utility
Document, element, mouse and window position and dimension helpers.
MaxRects Algorithm javascript implementation
Box positioning calculations helper - CSS block style positioning for screen widgets
<big><h1 align="center"> Draw d3 stacked rect SVG based on their weights</h1></big>
This small library can scale any size according to other size.
Basic collision detection methods based on Jeffrey Thompson's collision detection online series
- collision
- detection
- collision detection
- Jeffrey Thompson
- point
- line
- rectangle
- rect
- circle
- polygon
- poly
- esbuild
- typescript
Experimental API for observing the visible box of an element.
A Quadtree class for JS/ES
## Installation
2D line & convex polygon clipping (Liang-Barsky / Sutherland-Hodgeman)
Calculate the scaling and translations required to zoom and pan from one rectangle to another rectangle within the first