collaboration Drawing app
 
 
 
Go to file
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
.github
.husky
.vscode [feature] Add grids (#344) 2021-11-26 15:14:10 +00:00
apps [feature] Add grids (#344) 2021-11-26 15:14:10 +00:00
assets
examples [feature] Add grids (#344) 2021-11-26 15:14:10 +00:00
guides docs(contribute doc): move the guides folder to root folder (#329) 2021-11-21 12:09:52 +00:00
packages [feature] Add grids (#344) 2021-11-26 15:14:10 +00:00
.eslintignore
.eslintrc
.gitignore
.npmignore
.prettierrc
CODE_OF_CONDUCT.md
CONTRIBUTING.md Update CONTRIBUTING.md 2021-11-23 15:09:51 +00:00
LICENSE.md
README.md
lerna.json v1.1.4 2021-11-23 15:13:39 +00:00
package.json [feature] Add grids (#344) 2021-11-26 15:14:10 +00:00
replace-paths.ts [feature] Add grids (#344) 2021-11-26 15:14:10 +00:00
repo-map.tldr [improvement] refactor multiplayer (#336) 2021-11-22 14:00:24 +00:00
setupTests.ts
tsconfig.base.json [feature] Add grids (#344) 2021-11-26 15:14:10 +00:00
tsconfig.json [feature] Add grids (#344) 2021-11-26 15:14:10 +00:00
yarn.lock [feature] Add grids (#344) 2021-11-26 15:14:10 +00:00

README.md

Welcome to the tldraw monorepo. Here you'll find the source code for @tldraw/tldraw, @tldraw/core, and the tldraw.com website.

🙌 Questions? Join the Discord channel or start a discussion.

💕 Love this project? Consider becoming a sponsor.

Thanks to our corporate sponsors:

...and to our individual sponsors!

Contents

This repository is a monorepo containing two packages:

  • packages/tldraw contains the source for the @tldraw/tldraw package. This is an editor as a React component named <Tldraw>. You can use this package to embed the tldraw editor in any React application.
  • packages/core contains the source for the @tldraw/core package. This is a renderer for React components in a canvas-style UI. It is used by @tldraw/tldraw as well as several other projects.

...and three apps:

...and three examples:

Discussion

Want to connect? Visit the Discord channel.

Contribution

Interested in contributing? See the contributing guide.

Support

Need help? Please open an issue for support.

License

This project is licensed under MIT.

If you're using the library in a commercial product, please consider becoming a sponsor.

Author