You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
success/packages/math
Mark Tolmacs 7b340ed852
[skip ci] Fix arc intersect detection
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
6 days ago
..
CHANGELOG.md chore: Unify math types, utils and functions (#8389) 6 months ago
README.md chore: Unify math types, utils and functions (#8389) 6 months ago
angle.ts [skip ci] Fix arc intersect detection 6 days ago
arc.test.ts [skip ci] Fix arc intersect detection 6 days ago
arc.ts [skip ci] Fix arc intersect detection 6 days ago
curve.test.ts Add curve closest point finding and distance calc 6 days ago
curve.ts [skip ci] Fix arc intersect detection 6 days ago
ellipse.test.ts Intersection components in progress 6 days ago
ellipse.ts Intersection components in progress 6 days ago
index.ts Intersection components in progress 6 days ago
line.test.ts Intersection components in progress 6 days ago
line.ts Intersection components in progress 6 days ago
package.json chore: Unify math types, utils and functions (#8389) 6 months ago
point.test.ts refactor: `point()` -> `pointFrom()` to fix compiler issue (#8578) 5 months ago
point.ts Add the binding code changes back without the diamond arc 6 days ago
polygon.ts chore: Unify math types, utils and functions (#8389) 6 months ago
range.test.ts chore: Unify math types, utils and functions (#8389) 6 months ago
range.ts chore: Unify math types, utils and functions (#8389) 6 months ago
rectangle.ts Intersection components in progress 6 days ago
segment.ts chore: Unify math types, utils and functions (#8389) 6 months ago
triangle.ts chore: Unify math types, utils and functions (#8389) 6 months ago
types.ts Intersection components in progress 6 days ago
utils.ts feat: image cropping (#8613) 4 months ago
vector.test.ts chore: Unify math types, utils and functions (#8389) 6 months ago
vector.ts Fix intersection shape tracking for rectangular + diamond 6 days ago
webpack.prod.config.js chore: Unify math types, utils and functions (#8389) 6 months ago

README.md

@excalidraw/math

Install

npm install @excalidraw/math

If you prefer Yarn over npm, use this command to install the Excalidraw utils package:

yarn add @excalidraw/math

With PNPM, similarly install the package with this command:

pnpm add @excalidraw/math

API