Landing atmosphere: galaxy title, shader river, forested banks#98
Draft
mracette wants to merge 6 commits into
Draft
Landing atmosphere: galaxy title, shader river, forested banks#98mracette wants to merge 6 commits into
mracette wants to merge 6 commits into
Conversation
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.
What this is
A working prototype that reworks the landing page's flat treeline into a moonlit river receding through forested banks, art-directed against an AI-generated poster. Paused at prototype stage — see the honest assessment below before considering a merge.
Changes
h1text and stardust spill are replaced by a generated title image (nebula woven through the script lettering) on a black plate, composited withmix-blend-mode: screenso it melts into the night sky.LoadingScreenuses it too.LandingPageWater(new): the entire water surface is one quad + fragment shader — winding light lane with wavy dashed reflections, dark bank reflections, waterline sliver, perspective-compressed ripple bands, stardust swirl isolines, twinkling glints. Owns the shared channel geometry (channelAt(t), emitted in both TS and GLSL).LandingPageTreeline(reworked): 9 individual tree silhouettes (image gen → potrace SVGs) planted along both shorelines with continuous per-tree depth (size/tint/blur/base all derived per tree — no row seams), exponential size falloff, hillside rise, deterministic hero trees anchoring the frame edges. The old strip survives as the far forest wall.LandingPageFog(reworked): re-anchored on the channel horizon; warm ember at the channel mouth behind the far trees, two breathing glow pockets backlighting the banks, channel-confined shore/horizon mist. Front fog removed.docs/landing-scene-learnings.md: retrospective with the reusable techniques, named visual failure modes, and the performance architecture to use next time.Known issues (why this is a draft)
ctx.filterblurs, full texture re-uploads). Visibly stuttery on resize. The learnings doc describes the fix (pre-baked sprite atlas, re-layout instead of re-rasterize).Verified at desktop and 390px viewports; typecheck and all 106 unit tests pass.
https://claude.ai/code/session_01Caja5tPzzt6wzwu5DYaYnk