Repository navigation
feat(hero): The Living Page as the landing page - #333
Draft
thejustinwalsh wants to merge 31 commits into
Draft
thejustinwalsh wants to merge 31 commits into
thejustinwalsh wants to merge 31 commits into
Conversation
One continuous shot over a live editorial spread: a headline typed in glass at a caret that lights the page, a crane back to a multi-column essay with a drop cap, a pull quote and a sidebar of scripts, gutters that reflow the essay every frame while each letter rides a spring to where the layout now wants it, a black hole the text flows round that pulls letters out as rigid bodies built from their outlines and gives them back, a caret placed by hit test and typed at, and a dive through the drop cap's counter back to the caret. The body is one paragraph laid out through flow regions and exclusions. Its letters are drawn as detached glyphs whose identity is their offset in the text they were split from, so a letter taken by an exact replace and returned by another is the same letter throughout. Camera shots are Klipp virtual cameras blended by the director's script. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…s rewind and the frame budget Also settles the spread's springs within a visible tolerance, so the flow stops being restated once the gutters have stopped, tightens the dive into one dolly zoom through the counter, and extends the essay. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…tone feeding The wheel is the document's again when there is no dive to back out of. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… at four columns The library's depth-of-field node cost about 14 of the full tier's 23 ms at 1600x900; a ten-tap gather over the circle of confusion holds the look for about a millisecond. The capture script takes page query flags to weigh a pass by leaving it out. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The lockfile takes the integration side; the site's importers are restored by the install that follows the hero merge. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Both sides register a workflow root; the lockfile is regenerated for the union of importers. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The alpha no longer ships useRenderPipeline, takes the fps cap as a Canvas prop, and makes the scheduler's physics phase a fixed step. The post pass builds three's RenderPipeline itself and hands it to the render job, the simulation moves to the update phase so the frame budget sees the real interval, and the studio uses Fiber's own Environment, which drops drei and its state.gl warning. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Every face is rebaked with the 0.2.0 baker. The headline and label faces keep only the characters the page sets in them, the serif keeps ASCII for typing and loses Latin-1, the display face drops outlines nothing reads, and the Japanese specimen moves from the CID-keyed Noto showcase (whose subset keeps its whole outline table) to M PLUS 1p. The seven artifacts go from 2,147,508 to 1,367,000 bytes. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The headline's handle publishes glyph facts, so a fragment reads its letter's arrival from the table at the glyph's own index and no longer searches the line's caret stops for the one it is under. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A step of resolution given back and shed again within thirty seconds becomes the ceiling, so a page on the edge of its budget settles and never pumps between two resolutions. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Also records what splitting the paragraph cost as a User Timing entry. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The document carries a still of the spread, the install command, and links to the docs, the examples and GitHub before any script runs, and a footer below the hero so the page scrolls. The live piece is fetched only where a WebGPU adapter is granted and replaces the still once every shader is compiled; elsewhere the still stays and says what it is. The wheel and the space bar are the document's until the visitor takes the page, a key pressed on a link is the link's, and a finger's vertical drag scrolls. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A fixed sixty drew every second frame of a 75 Hz or 100 Hz display and read the result as a page dropping frames, and read a browser saving power at thirty the same way. The display's refresh interval is measured while the piece downloads; the piece draws every frame of a display up to about 90 Hz and every second frame of a faster one, and its budget is that pace with room to spare. The relapse window outlasts the loop, so a beat the page cannot hold costs one loop of finding out. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Also publishes the tier, the resolution, the smoothed frame interval, the mode and the caret's field on the root element for browser checks. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
hero:verify serves a built page and checks the still before the live frame, the bytes served, frame intervals by beat and what the budget did, frame-to-frame stability, less motion, no WebGPU, a phone that scrolls, and real mouse and key events. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
build:landing builds apps/hero into site/dist, so the site's / is the hero with its still, install command and links. The wordmark scene, its chorus fonts and their bake scripts are removed: the page's fallback is its own still. The landing check asserts the still, the links, the handover to the live page and a silent console. The manifest also takes @react-three/tsl, which the next commit's port needs. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…0-alpha.6 The alpha moves useRenderPipeline to @react-three/tsl, publishes the pipeline on the root state only once a scene has asked for one, and no longer takes shadows for a renderer it is handed. The bloom scenes and the post-processing guide import the hook from its new package, the explainer presents through a pipeline that may be absent, and the pooled renderer turns its own shadow map on. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The examples' shaping scene loads nine of the chorus faces from site/landing/assets, so they, their sources and bake:chorus stay. Only the wordmark scene and its own face are gone. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A browser that starts showing half its display's frames, as one saving power does, is as slow at any resolution. If frames at the least resolution are not at least 15% shorter than at the first step down, the page takes its resolution back once, asks for no other tier, and stops steering. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…e still The still came back over the loop's cut whenever the tier changed. After the first live frame the cover is plain black, it covers at once, and hero:verify watches a forced tier change frame by frame. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The wordmark landing's entry point stays deleted: its density governor's rule, to take resolution back once when lowering it did not shorten frames, is the hero's now. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…atch Headless Chromium's uneven frames can read as a fast display, which the page draws every second frame of, and a WebGPU canvas read on a frame nothing was drawn in is empty. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This was referenced Dec 2, 2026
Docs report 📚Advisory only — this never blocks merging. Anything left open is tracked in the
✅ attested · After your last source change, update each concept if it is now wrong, then record what you changed and checked:
|
Package performance:
|
| statistic | baseline | candidate |
|---|---|---|
| Median workload p50 | 2.310ms | 2.270ms |
| Workloads ≤1 ms | 1 | 1 |
| Workloads ≤2 ms | 2 | 2 |
| Workloads ≤3 ms | 3 | 3 |
| Workloads >3 ms | 2 | 2 |
Largest candidate workloads (including neutral results):
| workload | baseline | candidate | Δ time |
|---|---|---|---|
| relayout after font-size change | 3.92ms | 3.81ms | -0.110ms |
| publish after text change | 3.43ms | 3.43ms | 0.000ms |
| publish after color change | 2.31ms | 2.27ms | -0.040ms |
| measure after text change | 1.80ms | 1.85ms | +0.050ms |
| measure 100 unchanged labels | 13.38µs | 13.20µs | -0.000180ms |
faster ◀ ┊ ▶ slower Δ p50 p baseline candidate
measure after text change ├─┼─●───────────┤ +3.1% .200 ▆▇█▆▂▄▆▂▂▁ ▅▇▆█▄▅▇▂▂▂
publish after text change ├────●─┤ -0.2% .686 ▄█▅▆▆▂▂▅▅▂ ▄█▅▆▅▃▃▅▄▁
measure 100 unchanged labels ├──●┼──┤ -1.4% .886 ▃█▄▁▂▁▃▂▁▁ ▆█▃▁▁▂▃▂▁▂
publish after color change ├────●┼┤ -2.0% .200 ▄█▅▇▇▆▃▂▂▂ ▆█▆▆▅▇▂▂▂▁
relayout after font-size change ├●┤ -2.7% .114 ▅█▆█▃▃▃▃▄▂ █▅█▄▄▃▄▂▃▂
└──────────────┴──────────────┘
-30% 0 +30%All 5 compared benches are neutral.
5 neutral, 1 skipped
| status | bench | baseline | candidate | Δ time | Δ p50 | p | 95% CI |
|---|---|---|---|---|---|---|---|
| neutral | measure after text change | 1.80ms | 1.85ms | +0.050ms | +3.1% | .200 | -3.1..+28.8% |
| neutral | publish after text change | 3.43ms | 3.43ms | 0.000ms | -0.2% | .686 | -9.6..+3.1% |
| neutral | publish after color change | 2.31ms | 2.27ms | -0.040ms | -2.0% | .200 | -12.4..+1.4% |
| neutral | relayout after font-size change | 3.92ms | 3.81ms | -0.110ms | -2.7% | .114 | -4.2..+0.3% |
| neutral | measure 100 unchanged labels | 13.38µs | 13.20µs | -0.000180ms | -1.4% | .886 | -8.1..+5.9% |
| skipped: clock-confounded: neutral→faster · 3.37→3.22 | reflow after width change |
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.
The Living Page as the site's landing page, rebuilt on the 0.2.0 API. Replaces #212. Top of a two-PR stack on #332 (docs site).
No milestone: this does not gate 0.2.0. It adds no code to
@pmndrs/glyph.What is here
apps/herorebuilt as The Living Page: a typeset spread whose letters are live glyphs, replacing the two earlier hero scenes from feat(hero): add the glyph hero demo app #212.site's landing build now serves it, and the earliersite/landingscene is removed.Verification (at
b834bf49f)pnpm --filter @pmndrs/glyph-hero check: typecheck, lint, format, 6 test files / 17 tests, bake check, build. Passed.pnpm checkinsite/: 35 test files / 193 tests and every other step. Passed.pnpm buildinsite/: passed.Not verified
verify, capture) were not rerun after the merge withmain.🤖 Generated with Claude Code