Skip to content

[pull] main from tldraw:main#469

Merged
pull[bot] merged 2 commits intocode:mainfrom
tldraw:main
Mar 29, 2026
Merged

[pull] main from tldraw:main#469
pull[bot] merged 2 commits intocode:mainfrom
tldraw:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Mar 29, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

steveruizok and others added 2 commits March 29, 2026 09:02
In order to keep release notes current during the development cycle,
this updates `next.mdx` with one new PR gathered from `main` since
v4.5.4:

- **#8322** — Add `mapNodeToRenderSpec` and `createShape` extensibility
options to `@tldraw/mermaid`

No stale entries were found; no archival was needed.

### Change type

- [x] `other`

### Code changes

| Change        | Details                             |
| ------------- | ----------------------------------- |
| Documentation | Update `next.mdx` with new PR entry |

### Test plan

- [ ] Unit tests
- [ ] End to end tests
Adds an interactive recreation of the [xkcd "Dependency" comic
(#2347)](https://xkcd.com/2347/) as a tldraw SDK example, inspired by
[isohedral's p5.js
version](https://editor.p5js.org/isohedral/full/vJa5RiZWs). The example
builds a tower of geo shapes matching the comic's layout and simulates
physics using Rapier 2D — blocks settle under gravity, and you can drag
or delete blocks to watch the tower collapse.



https://github.com/user-attachments/assets/4a32706c-8f72-4e9e-9eb6-b07cf0cdc052



### Change type

- [x] `other`

### Test plan

1. Run `yarn dev` and navigate to the "Gravity sim (xkcd 2347)" example
under use-cases
2. Wait for blocks to settle after the initial physics warm-up
3. Drag a block out of the tower and watch surrounding blocks react
4. Delete a block and confirm the tower collapses realistically
5. Pull out the red "critical dependency" block and watch everything
fall

### Release notes

- Add xkcd 2347 "Dependency" physics example demonstrating Rapier 2D
integration with tldraw shapes

### Code changes

| Section         | LOC change |
| --------------- | ---------- |
| Documentation   | +406 / -0  |
| Config/tooling  | +9 / -0    |

Made with [Cursor](https://cursor.com)

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@pull pull Bot locked and limited conversation to collaborators Mar 29, 2026
@pull pull Bot added the ⤵️ pull label Mar 29, 2026
@pull pull Bot merged commit b75afa2 into code:main Mar 29, 2026
@pull pull Bot had a problem deploying to deploy-production March 29, 2026 09:13 Failure
@pull pull Bot had a problem deploying to vsce publish March 29, 2026 09:13 Failure
@pull pull Bot had a problem deploying to deploy-staging March 29, 2026 09:13 Error
@pull pull Bot had a problem deploying to deploy-staging March 29, 2026 09:13 Failure
@pull pull Bot had a problem deploying to deploy-staging March 30, 2026 00:36 Failure
@pull pull Bot temporarily deployed to e2e-dotcom March 30, 2026 02:36 Inactive
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants