tldraw/examples/core-example-advanced
Christian Petersen e2814943e9
[feature] Add grids (#344)
* [feature] grids

* Shows relative grids at different zoom levels

* Update colors

* Restores vec and intersect to monorepo, changes vec.round to vec.toFixed, adds vec.snap

* Snapping in translate and transforms, fix shortcut

* fix bugs in build

* use grid size for nudge too

* update scripts

* Update grid.tsx

* Update grid.tsx

* Fixed!

* Update grid.tsx

* Fix package imports

* Update Editor.tsx

* Improve tsconfigs, imports

* Fix tiny arrow bugs, snap starting points to grid

* Update tsconfig.base.json

* Update shape-styles.ts

* Fix example tsconfig

* Fix translate type error

* Fix types, paths

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-11-26 15:14:10 +00:00
..
scripts [big chore] restore core to monorepo (#287) 2021-11-18 13:09:18 +00:00
src [feature] Add grids (#344) 2021-11-26 15:14:10 +00:00
card-repo.png Update READMEs (#290) 2021-11-18 15:07:55 +00:00
LICENSE.md [big chore] restore core to monorepo (#287) 2021-11-18 13:09:18 +00:00
package.json [feature] Add grids (#344) 2021-11-26 15:14:10 +00:00
README.md Update READMEs (#290) 2021-11-18 15:07:55 +00:00
tsconfig.json [feature] Add grids (#344) 2021-11-26 15:14:10 +00:00
yarn.lock [big chore] restore core to monorepo (#287) 2021-11-18 13:09:18 +00:00

@tldraw/core-example-advanced

An advanced example project for @tldraw/core.

To start this project:

  • run yarn start:core from the repository's root directory
  • open http://localhost:5420 in your browser