Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 : )