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 b49ccbf497
Remove circular dep
5 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 5 days ago
curve.test.ts Even more robust nonlinear root finding with a custom Newton-Rhapson solver 5 days ago
curve.ts More performant and robust numerical distance calc for cubic bezier 5 days ago
ellipse.test.ts Intersection components in progress 5 days ago
ellipse.ts Intersection components in progress 5 days ago
index.ts Remove arc related code 5 days ago
line.test.ts [skip ci] Refactor 5 days ago
line.ts [skip ci] Refactor 5 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 5 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 Remove circular dep 5 days ago
segment.test.ts [skip ci] Refactor 5 days ago
segment.ts [skip ci] Refactor 5 days ago
triangle.ts chore: Unify math types, utils and functions (#8389) 6 months ago
types.ts Remove unneeded math types 5 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 [skip ci] Fix division by zero 5 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