tldraw
"A tiny little drawing (diagram) app." https://github.com/tldraw/tldraw
- 93% TypeScript
toot with example, showing screenshot of "code" for a very simple diagram
vs Excalidraw? The main difference between the two is that Excalidraw renders to HTML canvas, while tldraw renders to a regular DOM tree. There are tradeoffs but this lets us make things like sticky notes or other types of complex embedded content without too much difficulty.
Jun'2023: Bidirectional communication between python and tldraw would be amazing to have! Here are three use cases that I can see:
- updating background Matplotlib figures without losing the overlay drawings
- image segmentation by getting the coordinates of the hand drawn strokes on the canvas
- programmatic shape generation, e.g. with functions and sliders from the python side.
Python pip install tldraw
integration (page frames as element within jupyter)
Edited: | Tweet this! | Search Twitter for discussion