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.
Steve Ruiz fc9b9fa3e3
expand arrow bounds based on interpolated points (#90)
4 years ago
.github Fix change to loadDocument 4 years ago
.vscode big refactor 4 years ago
.yarn/releases Improves pan and zoom gestures 4 years ago
packages expand arrow bounds based on interpolated points (#90) 4 years ago
.eslintrc.js Fix build errors 4 years ago
.gitignore Replace 4 years ago
.npmignore Replace 4 years ago
.yarnrc Improves pan and zoom gestures 4 years ago
LICENSE Replace 4 years ago
README.md test(core): fix test names 4 years ago
lerna.json v0.0.89 4 years ago
package.json Cleans up packages, tsconfigs, fixes for docs 4 years ago
setupTests.ts Adjusts small example, makes inputs unique to each instance 4 years ago
tsconfig.base.json Splits vectors and intersections into new packages 4 years ago
tsconfig.json big refactor 4 years ago
tsconfig.tsbuildinfo tweak arrow sessions 4 years ago
yarn.lock Cleans up packages, tsconfigs, fixes for docs 4 years ago

README.md

tldraw

A tiny little drawing app.

Visit tldraw.com.

Author

Support

To support this project (and gain access to the project while it is in development) you can sponsor the author on GitHub. Thanks!

Documentation

In progress! Check the README files in packages/core and packages/tldraw.

Examples

Local Development

The tldraw packages

To work on the packages (@tldraw/core or @tldraw/tldraw), you’ll want to run the (extremely fast) dev server.

  1. Download or clone the repository.
   git clone https://github.com/tldraw/tldraw.git
  1. Install dependencies.
   yarn
  1. Start the development server.
   yarn start
  1. Open the local site at https://localhost:5000.

The tldraw app

To work on the app itself (that embeds @tldraw/tldraw), run the Next.js app. This won’t directly respond to changes to packages, so for concurrent package dev work be sure to use the package dev server instead. (This is being worked on.)

  1. Start the development server.
   yarn start:www
  1. Open the local site at https://localhost:3000.