Trails++ example - #150
Open
krispya wants to merge 5 commits into
Open
Conversation
Temporary demo advertising @react-three/fiber 9.7.0 (dep bumped to the real release). The pmndrs logos become a physics swarm of extruded "9.7.0" blocks (shared centered TextGeometry, helvetiker bold) pulled toward a point behind an immovable pink hero "9.7.0" they bounce off. Text3D+Center were dropped after drei's <Center> mis-measured: Box3. setFromObject(precise) reads the raw position attribute of the <Edges> fat-line (its Line2 instancing template quad, 2x3 units), inflating the box and offsetting the word by roughly a quarter width. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The cursor's z velocity now targets the swarm's gather depth (z=-1) instead of z=0, so it plows through the middle of the clump like the original demo. Clicking applies a distance-falloff impulse to every block radiating from the cursor, slightly off-center for tumble; the center attractor then reels the swarm back in for the next blast. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Detonations now spawn 16 tumbling pmndrs logos (the original demo's glb, recentered) that fly out from the cursor with a camera-ward bias, decelerate, and shrink away over 1.5s. Pure useFrame VFX — no physics bodies — so rapid clicks stay cheap. Palette mixes white with the accent colors, black fat-line outlines to match the scene. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
demos/trails goes back to its pristine upstream state (including its fiber 9.6.1 pin). The release demo now lives as its own workspace package @demo/trails-r3f-9.7.0 with updated pmndrs.json metadata, page title and README links. Thumbnail is inherited from trails for now. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
krispya
force-pushed
the
worktree-v9-7-0-release-demo
branch
from
July 31, 2026 17:54
0f877bc to
e35eebc
Compare
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
A little trails++ exmaple to promot R3F v9.7.0.