excalidraw/packages/math
2025-01-07 09:41:32 +01:00
..
angle.test.ts Master merge 2024-10-02 12:09:01 +02:00
angle.ts Fix arc line intersection, add tests to element line intersections 2024-10-02 22:17:28 +02:00
arc.test.ts refactor: point() -> pointFrom() to fix compiler issue (#8578) 2024-10-02 11:49:10 +02:00
arc.ts Add visual debug support for arc 2024-10-03 14:09:44 +02:00
CHANGELOG.md chore: Unify math types, utils and functions (#8389) 2024-09-02 22:23:38 +00:00
curve.ts refactor: point() -> pointFrom() to fix compiler issue (#8578) 2024-10-02 11:49:10 +02:00
ellipse.test.ts Master merge 2024-10-02 12:09:01 +02:00
ellipse.ts Master merge 2024-10-02 12:09:01 +02:00
index.ts Ellipse refactor 2024-09-24 19:12:27 +02:00
line.test.ts Master merge 2024-10-02 12:09:01 +02:00
line.ts Master merge 2024-10-02 12:09:01 +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 refactor: point() -> pointFrom() to fix compiler issue (#8578) 2024-10-02 11:49:10 +02:00
point.ts Fix pointDistanceSq 2024-10-08 09:55:35 +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 Master merge 2024-10-02 12:09:01 +02:00
rectangle.ts Master merge 2024-10-02 12:09:01 +02:00
segment.test.ts Master merge 2024-10-02 12:09:01 +02:00
segment.ts Replace intersection code 2024-10-01 16:24:31 +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 Master merge first attempt 2025-01-07 09:41:32 +01:00
vector.test.ts chore: Unify math types, utils and functions (#8389) 2024-09-02 22:23:38 +00:00
vector.ts Master merge first attempt 2025-01-07 09:41:32 +01: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