excalidraw/packages/math
2024-09-27 20:27:10 +02:00
..
ga chore: Unify math types, utils and functions (#8389) 2024-09-02 22:23:38 +00:00
angle.test.ts Arc tests 2024-09-25 14:22:41 +02:00
angle.ts Further math refactor and simplifications 2024-09-23 17:13:40 +02:00
arc.test.ts Add ellipse changes no angle 2024-09-27 11:34:02 +02:00
arc.ts Add ellipse changes no angle 2024-09-27 11:34:02 +02:00
CHANGELOG.md chore: Unify math types, utils and functions (#8389) 2024-09-02 22:23:38 +00:00
curve.ts Further math refactor and simplifications 2024-09-23 17:13:40 +02:00
ellipse.test.ts Add ellipse changes no angle 2024-09-27 11:34:02 +02:00
ellipse.ts Add ellipse changes no angle 2024-09-27 11:34:02 +02:00
index.ts Ellipse refactor 2024-09-24 19:12:27 +02:00
line.ts Unify on GenericPoint type 2024-09-24 18:38:29 +02:00
package.json chore: Unify math types, utils and functions (#8389) 2024-09-02 22:23:38 +00:00
path.ts Move path related function into the math package 2024-09-23 18:08:17 +02:00
point.test.ts chore: Unify math types, utils and functions (#8389) 2024-09-02 22:23:38 +00:00
point.ts Attempt at optimizing focus point calc 2024-09-27 20:27:10 +02:00
polygon.ts First implementation of element distance functions with failing tests 2024-09-25 18:30:53 +02:00
range.test.ts chore: Unify math types, utils and functions (#8389) 2024-09-02 22:23:38 +00:00
range.ts Further math refactor and simplifications 2024-09-23 17:13:40 +02:00
README.md chore: Unify math types, utils and functions (#8389) 2024-09-02 22:23:38 +00:00
rectangle.test.ts Rectangle distance and tests 2024-09-25 15:04:46 +02:00
rectangle.ts Rectangle distance and tests 2024-09-25 15:04:46 +02:00
segment.test.ts More refactor 2024-09-25 11:59:27 +02:00
segment.ts First implementation of element distance functions with failing tests 2024-09-25 18:30:53 +02:00
triangle.ts Unify on GenericPoint type 2024-09-24 18:38:29 +02:00
types.ts Add ellipse changes no angle 2024-09-27 11:34:02 +02:00
utils.ts fix: improve canvas search scroll behavior further (#8491) 2024-09-11 18:01:18 +02:00
vector.test.ts chore: Unify math types, utils and functions (#8389) 2024-09-02 22:23:38 +00:00
vector.ts Attempt at optimizing focus point calc 2024-09-27 20:27:10 +02:00
webpack.prod.config.js chore: Unify math types, utils and functions (#8389) 2024-09-02 22:23:38 +00:00

@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