Repository navigation
Blow wind through the wood, rustle and shed leaves, fix lamp reflections - #56
Merged
Merged
Conversation
The wood looked windless: crowns swayed a few centimetres, invisible at the 40-100 m where most trees stand. Vegetation now sways 2.4 times further with a calm-day floor, and gust patches roll downwind through the wood in spells with lulls between. A pointer sweep raises a gust from 450 px/s (1400 before, rarely reached) and pushes over three times harder, so the trees it crosses visibly thrash. Gusts, the visitor's and the weather's, now tear leaves from the crowns: they flutter down, drift with the wind, settle on the ground or float on the lake with a faint ripple, and fade. At night the cursor's lantern often missed far trees: the ray stops on a pick sphere in front of most of a crown's cards. Past 25 m the pool now widens and stretches along the view ray, and hops between crowns and the ridge behind dim it less. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
A pointer sweep now stirs the leaves rather than bending the whole tree: crowns lean at most 0.6 bend units (6 before) while each foliage card and blade rustles on its twig, by up to six times its own flutter. Wood has no flutter, so trunks and limbs stay put. Additive glows (lamp haloes, fireflies, the shockwave ring) also added their alpha into the reflection target, and the lake reads that alpha as scenery coverage, showing sky through 1 - alpha. Every reflected halo over the sky cut a black square the size of its quad. They now add light and leave the alpha untouched. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully deployed
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.
Summary
The wood looked windless, a pointer sweep barely stirred the trees, the cursor's lantern often missed the trees further back at night, and lamp reflections sometimes cut a large black square into the lake. This pass makes the wind visible: gusts roll through the wood in waves, a brisk ordinary sweep rustles the foliage it crosses, gusts tear leaves off that flutter down, the cursor lights far crowns at night, and lamp glows reflect cleanly.
Changes
wind-field.ts) roll downwind at 9 m/s in spells of a few tens of seconds, with lulls between.falling-leaves.ts, one instanced draw of up to 160 leaves (48 on phones), simulated on the CPU. Crown bands shed leaves under cursor gusts and strong ambient patches. The leaves swing or tumble down, ride the wind and passing gusts, then rest on the ground or float on the lake with a faint ripple, and fade. They grow a little with distance so far flurries still read. Reduced motion sheds none.glow-blending.ts).vegetation.md,scene-details.mdandatmosphere.md.Validation
pnpm check(typecheck, lint, format, 533 unit tests, build, bundle size): passes. New tests cover the alpha-preserving glow blending, leaf shedding, landing, ripples and capacity, the gust field, and the pointer light's far reach and hop dimming.indexOfcall per spawn.🤖 Generated with Claude Code