Virtual whiteboard for sketching hand-drawn like diagrams
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
David Luzar 47ee8a0094
refactor: `point()` -> `pointFrom()` to fix compiler issue (#8578)
1 year ago
..
ga chore: Unify math types, utils and functions (#8389) 1 year ago
CHANGELOG.md chore: Unify math types, utils and functions (#8389) 1 year ago
README.md chore: Unify math types, utils and functions (#8389) 1 year ago
angle.ts chore: Unify math types, utils and functions (#8389) 1 year ago
arc.test.ts refactor: `point()` -> `pointFrom()` to fix compiler issue (#8578) 1 year ago
arc.ts chore: Unify math types, utils and functions (#8389) 1 year ago
curve.ts refactor: `point()` -> `pointFrom()` to fix compiler issue (#8578) 1 year ago
index.ts chore: Unify math types, utils and functions (#8389) 1 year ago
line.ts chore: Unify math types, utils and functions (#8389) 1 year ago
package.json chore: Unify math types, utils and functions (#8389) 1 year ago
point.test.ts refactor: `point()` -> `pointFrom()` to fix compiler issue (#8578) 1 year ago
point.ts refactor: `point()` -> `pointFrom()` to fix compiler issue (#8578) 1 year ago
polygon.ts chore: Unify math types, utils and functions (#8389) 1 year ago
range.test.ts chore: Unify math types, utils and functions (#8389) 1 year ago
range.ts chore: Unify math types, utils and functions (#8389) 1 year ago
segment.ts chore: Unify math types, utils and functions (#8389) 1 year ago
triangle.ts chore: Unify math types, utils and functions (#8389) 1 year ago
types.ts chore: Unify math types, utils and functions (#8389) 1 year ago
utils.ts fix: improve canvas search scroll behavior further (#8491) 1 year ago
vector.test.ts chore: Unify math types, utils and functions (#8389) 1 year ago
vector.ts chore: Unify math types, utils and functions (#8389) 1 year ago
webpack.prod.config.js chore: Unify math types, utils and functions (#8389) 1 year 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