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 2137f2b806
Type refactor
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2 weeks ago
..
CHANGELOG.md chore: Unify math types, utils and functions (#8389) 5 months ago
README.md chore: Unify math types, utils and functions (#8389) 5 months ago
angle.test.ts Master merge 4 months ago
angle.ts Fix arc negative radians issue 3 weeks ago
arc.test.ts refactor: `point()` -> `pointFrom()` to fix compiler issue (#8578) 4 months ago
arc.ts Fix arc negative radians issue 3 weeks ago
curve.ts Type refactor 2 weeks ago
ellipse.test.ts Master merge 4 months ago
ellipse.ts Master merge 4 months ago
index.ts Ellipse refactor 4 months ago
line.test.ts Master merge 4 months ago
line.ts Master merge 4 months ago
package.json chore: Unify math types, utils and functions (#8389) 5 months ago
path.ts Move path related function into the math package 4 months ago
point.test.ts refactor: `point()` -> `pointFrom()` to fix compiler issue (#8578) 4 months ago
point.ts Fix pointDistanceSq 4 months ago
polygon.ts First implementation of element distance functions with failing tests 4 months ago
range.test.ts chore: Unify math types, utils and functions (#8389) 5 months ago
range.ts Further math refactor and simplifications 4 months ago
rectangle.test.ts Master merge 4 months ago
rectangle.ts Master merge 4 months ago
segment.test.ts Master merge 4 months ago
segment.ts Replace intersection code 4 months ago
triangle.ts Unify on GenericPoint type 4 months ago
types.ts Type refactor 2 weeks ago
utils.ts Master merge first attempt 3 weeks ago
vector.test.ts chore: Unify math types, utils and functions (#8389) 5 months ago
vector.ts Master merge first attempt 3 weeks ago
webpack.prod.config.js chore: Unify math types, utils and functions (#8389) 5 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