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 017047d15e
Unify on GenericPoint type
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
6 months ago
..
ga chore: Unify math types, utils and functions (#8389) 6 months 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 Further math refactor and simplifications 6 months ago
arc.test.ts Further math refactor and simplifications 6 months ago
arc.ts Further math refactor and simplifications 6 months ago
curve.ts Further math refactor and simplifications 6 months ago
index.ts Move path related function into the math package 6 months ago
line.ts Unify on GenericPoint type 6 months ago
package.json chore: Unify math types, utils and functions (#8389) 6 months ago
path.ts Move path related function into the math package 6 months ago
point.test.ts chore: Unify math types, utils and functions (#8389) 6 months ago
point.ts Unify on GenericPoint type 6 months ago
polygon.ts Unify on GenericPoint type 6 months ago
range.test.ts chore: Unify math types, utils and functions (#8389) 6 months ago
range.ts Further math refactor and simplifications 6 months ago
rectangle.ts Further math refactor and simplifications 6 months ago
segment.test.ts Refactoring bounds, arrows, bboxes 6 months ago
segment.ts Unify on GenericPoint type 6 months ago
triangle.ts Unify on GenericPoint type 6 months ago
types.ts Unify on GenericPoint type 6 months ago
utils.ts fix: improve canvas search scroll behavior further (#8491) 6 months ago
vector.test.ts chore: Unify math types, utils and functions (#8389) 6 months ago
vector.ts Unify on GenericPoint type 6 months 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