excalidraw/packages/math
2025-02-11 15:21:02 +01:00
..
angle.test.ts Master merge 2024-10-02 12:09:01 +02:00
angle.ts Fix arc negative radians issue 2025-01-07 12:27:29 +01:00
arc.test.ts Arc code updated 2025-02-11 15:17:04 +01:00
arc.ts Arc code updated 2025-02-11 15:17:04 +01:00
CHANGELOG.md chore: Unify math types, utils and functions (#8389) 2024-09-02 22:23:38 +00:00
complex.ts Complex number support 2025-02-11 15:21:02 +01:00
curve.ts Type refactor 2025-01-14 18:34:05 +01: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 Complex number support 2025-02-11 15:21:02 +01: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 Complex number support 2025-02-11 15:21:02 +01: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