Skip to content

More polish on the homepage animation (draft) - #548

Merged
mcwhittemore merged 28 commits into
mainfrom
issue-543-scroll-blink
Nov 13, 2026
Merged

mcwhittemore merged 28 commits into
mainfrom
issue-543-scroll-blink

Conversation

@loopway-bot

@loopway-bot loopway-bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Refs #543 (not closing it: more polish is coming). A draft with rounds of homepage animation polish from chats with Matthew.

What it does

  • The SCROLL ↓ hint on the billboard is drawn live over the still board face and wiggles (a gentle bob and tilt) for one second every 3.5s.
  • Morning glory and moonflower leaves are heart-shaped, with a stalk, midrib and veins, instead of ellipses.
  • The flowers open as one shape: a furled, twisted bud with a green calyx whose mouth rises and widens into the five-lobed face, instead of fading between two shapes.
  • The wordmark is carried in the page (a copy of wordmark.svg), so the sign no longer appears without it and then snaps in. The first frame waits for it to decode.
  • The wordmark and tagline are sized to sit inside the blue border line, with room under them for the scroll hint.
  • The tagline reads "Keep your agents and team in the same loop".
  • The birch leaves are shaped like paper birch leaves (egg-shaped with a pointed tip, a midrib on the bigger ones) and hang from the twigs, instead of ellipses at any angle.
  • The snake's run starts well in under the bramble, so going home its tail no longer bunches up at the bramble's edge and then vanishes.
  • A hidden hummingbird: click the morning glory out to the right of the left post while it is freshly open (from half open until five seconds after it is fully open) and a male ruby-throated hummingbird comes out from behind the billboard, drinks from it, and leaves by going up under the billboard and behind it. The first find is kept and sent as hummingbird_found. ?u=0.17 freezes the day inside the window for testing.
  • A hidden moth: click the moonflower on the right of the right post, two up from the ground, while it is open and all three people are in their chairs at the fire. A pale moth flutters to the one in the red chair, who swats at it, and it leaves low over the river to the right, the way the blackbird does. The first find is kept and sent as moth_found. ?u=0.7 freezes the day inside the window for testing.
  • A hidden moose: click the bunch of cattails below the tent in the first half of the day or of the night (from just before sunrise until midday, or from just before sunset until midnight) and a bull moose walks in from the right, eats the bunch, and walks on along the bank and out under the bottom of the picture, without turning round. The bunch stays eaten, on later visits too. ?u=0.03 freezes the day at dawn for testing.
  • The last frame's tracker is a run of boxes over two rows, with the loop count at the end. They are in the order of the day, by the earliest moment in the loop each could first be found or seen: snake, chickadee, moose, trout, eagle, hummingbird, squirrel, blackbird, moth, skunk, and then the secret dead fish once it is earned. The squirrel, blackbird, skunk and trout are ticked the first time each is on the picture and send nothing; the others have to be found and send their first find to PostHog. No box can be ticked there. The moose's is the only box that can be unticked, which puts the cattails back so the moose can come again, and sends moose_unchecked.
  • A hidden bald eagle: click the birch at the left as a trout is about to jump and an eagle flies out of it at the trout. Within half a second of the perfect moment (the one that puts the eagle over the trout at the top of its jump) it takes the trout, which then makes no splash; up to a second later than that it flies out, stoops and misses; up to a second earlier it only glides over, high, without stooping; any other time nothing happens. Hit or miss, it flies on from left to right and out of the picture. Flying ticks an eagle box; the catch is kept for which of the three trout (dawn, dusk, night) it was. Nothing shows for it until the first catch; then the tracker has three places, a fish with a cross for an eye for each trout caught and a faint outline for each still to get. Clicking them gives all three up and sends deadfish_unchecked. The day has to be running for this, so it cannot be tested with ?u=; ?speed=3 brings the jumps round sooner.
  • The log put on the fire at night no longer shrinks away in the hands: it is let go, drops onto the fire with sparks and a flare, and lies there burning until mid-morning.
  • Three clicks on loops completed inside a second wipe everything kept and send tracker_reset.

Worth knowing

  • The two foreground spruces keep main's silhouette. On top of it they have a ragged, uneven hem along the foot, a smaller extra tip on some boughs, and inner strokes that are clipped to the tree. A traced silhouette and a tiered redraw were both tried and dropped. The treeline spruces are untouched.
  • packages/web/test/page.test.ts checks that the copy of the wordmark in the page matches wordmark.svg, so the two can't drift.
  • There is no verifications/<pr>.md yet and no live run in the sandbox. The visual changes were checked by rendering the page in headless Chrome at several times of day.

Test it locally

  • npm run build && npm test && npm run typecheck && npm run lint && npm run format:check all pass (215 CLI tests, 32 web tests).
  • Open packages/web/public/index.html through a local server: ?u=0.3 is morning, ?u=0.7 is night.

🤖 Generated with Claude Code

loopway-bot and others added 3 commits November 12, 2026 22:45
The scroll hint is drawn live over the still board face and wiggles for a
second every 3.5s. Morning glory and moonflower leaves are heart-shaped with
a stalk, midrib and veins, instead of ellipses.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Shut, the flower is a furled, twisted cone with a green calyx. Opening, its
mouth rises and widens into the five-lobed face and the tube folds away,
so there is no fade from one shape to another.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The two foreground spruces are painted from a loosened, traced spruce outline
(plain spire on top, shaded boughs, a soft edge) instead of the old tiered
shape. The trunk arches up into the foliage and fades into it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@loopway-bot
loopway-bot marked this pull request as draft November 13, 2026 04:13
@loopway-bot

Copy link
Copy Markdown
Contributor Author

Blocked: there is no verifications/548.md yet, and the PR says so itself (it's a draft, and only Refs #543). The code is close. Below is what has to change before it can merge.

What I ran

On d7b8246, in a fresh worktree: npm run build && npm test && npm run typecheck && npm run lint && npm run format:check all pass. That's 215 CLI tests and 24 web tests, which matches the PR description. CI (test, label) was still pending when I checked. I did no live run, since there's nothing in the sandbox to check: the change is only in packages/web.

#543 has no How to test it or Done when section, so I reviewed against the PR description and the chat summary on the issue.

Must fix

  1. There is no verification record. Other web-only PRs, like verifications/525.md, recorded a real browser run with screenshots and noted that nothing was opened in the sandbox. This one needs the same, with screenshots of what the chat said still needs a look:
    • morning and night (?u=0.3 and ?u=0.7);
    • the left spruce;
    • the flowers part-way open;
    • the scroll hint in the middle of its wiggle.
  2. Check the licence of the spruce outline before this ships (packages/web/public/index.html:252, PINE.pts). The shape is traced from a svgheart.com image, and that site's downloads are often free for personal use only. Craftmill's site is commercial. Either confirm the licence covers a derived shape on a commercial page (and add credit if it asks for it), or redraw the outline.
  3. The scroll hint can freeze part-way through its wiggle (index.html:1862). drawScrollHint takes its timing from clockNow() even when the loop is frozen (?u=, or prefers-reduced-motion, which freezes at 0.3). A frozen page only redraws on resize or click. For about 1 second of every 3.5, the hint is tilted and lifted up to 5 px, so roughly 2 frozen redraws in 7 show it crooked. It also jumps between redraws on a reduced-motion screen. Fix: when freeze !== null, use t = 1 (at rest), and add an assertion to page.test.ts.

Worth considering

…rder

- The two foreground spruces are drawn as they are on main again. The traced
  silhouette and its fading trunk are gone.
- The wordmark is carried in the page, so the sign no longer appears without
  it and then snaps in. The first frame waits for it to decode.
- The wordmark and tagline are sized to sit inside the blue border line, with
  room under them for the scroll hint.
- The tagline reads "Keep your agents and team in the same loop".

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@loopway-bot

Copy link
Copy Markdown
Contributor Author

Blocked: there is still no verifications/548.md. The scroll-hint fix from my last review hasn't landed yet. The new commit 2ef85a6 looks right.

What I ran

On 2ef85a6: npm run build && npm test && npm run typecheck && npm run lint && npm run format:check all pass, with 215 CLI tests and 25 web tests (one new web test). CI passes too: test, label and cli-version.

Earlier points

  • Verification record: not fixed. It is still missing.
  • Spruce outline licence: no longer applies. The traced silhouette is gone, and the spruces are main's again.
  • Scroll hint freezing part-way through its wiggle: not fixed. drawScrollHint (index.html:1871) still takes its timing from clockNow() when the loop is frozen (?u=, or the reduced-motion setting).
  • The hint disappearing at once when you leave the first frame: optional, and unchanged.

Must fix

  1. Add verifications/548.md. It should cover morning and night, the flowers part-way open, the hint mid-wiggle, and now the new wordmark and tagline layout inside the border. Note that nothing was written to the sandbox.
  2. When the loop is frozen (freeze !== null), draw the hint at rest, and add a test for it.

Worth considering

  • index.html:4290: wordmark.decode().then(start, start) replaced the old load listener. If decode() rejects but the image goes on to load, nothing repaints the face, and the sign stays without its wordmark for the whole visit. Keeping a load listener that calls drawBoardFace() would cover that case.
  • The comment at index.html:1832 still says the hint "blinks". It wiggles now.

…ir lines

- The foot of each foreground spruce is a ragged hem of hanging boughs, not one
  line, and some boughs carry a smaller tip, so the tree is less regular.
- The drooping strokes inside the tree are clipped to it and follow the boughs,
  so none runs out over the edge.
- The tree's own silhouette is the one on main: the new detail is rolled apart
  from it, and the treeline spruces are untouched.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@loopway-bot

Copy link
Copy Markdown
Contributor Author

Blocked: verifications/548.md is still missing. The new spruce commit edeb20b looks right.

What I ran

On edeb20b: npm run build && npm test && npm run typecheck && npm run lint && npm run format:check all pass, with 215 CLI tests and 25 web tests.

I checked the new sprucePath against main's:

  • A bough with no twig and a crown with no hem are drawn exactly as before. That means the treeline spruces and the far trees, which go through the same function, are unchanged.
  • The drooping strokes are now clipped to the crown inside a save/restore, so the clip can't spread to anything drawn after them.

Earlier points

  • Verification record: not fixed. It should now include a screenshot of the new hem on both foreground spruces.
  • The scroll hint freezing part-way through its wiggle when the loop is frozen (?u=, or the reduced-motion setting): not fixed (drawScrollHint, const t = clockNow() % 3.5).
  • Optional points from last time, both unchanged:
    • Keep a load fallback next to wordmark.decode().
    • Fix the comment that still says the hint "blinks".

The boughs along the foot of each tree are now different widths and hang to
different depths, and each tip points out from the trunk, so the hem no longer
reads as an even row of scallops.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@loopway-bot

Copy link
Copy Markdown
Contributor Author

Blocked: verifications/548.md is still missing. The new commit 932a584 looks right.

What I ran

On 932a584: npm run build && npm test && npm run typecheck && npm run lint && npm run format:check all pass, with 215 CLI tests and 25 web tests.

What the new hem code does, checked against the diff:

  • The gaps between hem tips are all positive, so the tips stay in order from one side of the foot to the other.
  • Each curve's control point sits above both of its end points.
  • A tip hangs at most about 0.66 of a tier below the crown, which is well clear of the ground.

Earlier points

  • Verification record: not fixed.
  • The scroll hint freezing part-way through its wiggle when the loop is frozen (?u=, or the reduced-motion setting): not fixed (index.html:1949).
  • Both optional points from earlier are unchanged.

Each leaf was an ellipse at any angle. It is now egg-shaped (round at the
stalk, widest a third of the way along, drawn out to a point), the bigger ones
carry a midrib, they vary more in size, and they hang: most point down, each
at its own slant.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@loopway-bot

Copy link
Copy Markdown
Contributor Author

Blocked: verifications/548.md is still missing. The new birch-leaf commit f29cd68 looks right.

What I ran

On f29cd68: npm run build && npm test && npm run typecheck && npm run lint && npm run format:check all pass, with 215 CLI tests and 25 web tests.

What the commit does, checked against the diff:

  • hang() takes one leafRng() call where the old leafRng() * TAU took one. The shared random sequence is unchanged, so every leaf and twig stays where it was.
  • Each leaf is a closed shape: one curve runs from the stalk to the tip, and the other runs back.
  • The midrib pass runs once per crown, after the three tone fills, not once per tone.

Earlier points

  • Verification record: not fixed. Add a birch close-up to the screenshots.
  • The scroll hint freezing part-way through its wiggle when the loop is frozen (?u=, or the reduced-motion setting): not fixed (index.html:1975).
  • Both optional points from earlier are unchanged.

Its run ended at the bramble's edge, in the open, so on the way home the tail
bunched up there as a dot and then vanished when the run finished. The run now
starts well in under the bramble's dark tangle.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@loopway-bot

Copy link
Copy Markdown
Contributor Author

Blocked: verifications/548.md is still missing. The new snake commit 669c60d looks right.

What I ran

On 669c60d: npm run build && npm test && npm run typecheck && npm run lint && npm run format:check all pass, with 215 CLI tests and 25 web tests.

What the commit does, checked against the code:

  • The new start point, [528, 730], is inside BUSH_SPOT.
  • drawSnake runs before drawBush (index.html:4099–4100), so the bramble covers the extra stretch.
  • The run is 68 units longer but still takes seconds: 3, so the snake moves about a fifth faster than before. Tune that if it looks hurried.

Earlier points

  • Verification record: not fixed. Include the snake going home in the screenshots.
  • The scroll hint freezing part-way through its wiggle when the loop is frozen (?u=, or the reduced-motion setting): not fixed (index.html:1975).
  • Both optional points from earlier are unchanged.

Click the morning glory out to the right of the left post while it is freshly
open (from half open until five seconds after it is fully open) and a male
ruby-throated hummingbird darts out from behind the billboard, hovers and
drinks from it, then leaves by going up under the billboard and behind it.

The first find is kept and sent like the snake and the bird (`hummingbird`,
`hummingbird_found`), but it is not listed on the last frame's tracker.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@github-actions github-actions Bot added the conflicts Conflicts with its base branch; set and cleared by the Label merge conflicts workflow label Nov 13, 2026
@github-actions

Copy link
Copy Markdown

This PR conflicts with its base branch. Rebase onto it, resolve the conflicts, and push.

The tracker lists the snake, the bird and the hummingbird on one line, and the
loop count moves to a line of its own under it so the three fit on the sign.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@loopway-bot

Copy link
Copy Markdown
Contributor Author

Blocked: the branch conflicts with main, and verifications/548.md is still missing. The new hummingbird commit eb33be3 mostly works, but part of its flower wakes the snake instead (point 3).

What I ran

On eb33be3: npm run build && npm test && npm run typecheck && npm run lint && npm run format:check all pass, with 215 CLI tests and 26 web tests (one new). I also loaded a copy of the page in headless Chrome at ?u=0.15 to read where things are at run time:

  • NECTAR is at (426.3, 713.7), with r 14.4. Its click circle has a radius of r + 5, so it spans x from 407 to 446.
  • BUSH_SPOT starts at x = 430.

Must fix

  1. Rebase onto main. The PR is CONFLICTING. Since the branch started, main has changed docs/developing.md and CHANGELOG.md, and this PR edits docs/developing.md. CI has only run on the branch, not merged with main.
  2. Add verifications/548.md. It should now also cover:
  3. About a third of the hummingbird's flower wakes the snake instead (index.html:3834). clickable checks the snake before the hummingbird. The right side of the flower's click circle (x 430 to 446) is inside BUSH_SPOT. While the snake is at home under the bramble, which is how the page starts, a click on that side of the freshly open flower sends the snake out, and the hummingbird never comes. Fix: check the hummingbird first. It's the narrower target and only counts for a few seconds of each day. Add a test that pins the order.
  4. The scroll hint can freeze part-way through its wiggle when the loop is frozen (?u=, or the reduced-motion setting). Still not fixed (index.html:1975).

Worth considering

  • A CHANGELOG.md line for the new find, now that the page sends a new PostHog event.
  • The two optional points from earlier are unchanged: a load fallback for the wordmark, and the comment that still says the hint "blinks".

@loopway-bot

Copy link
Copy Markdown
Contributor Author

Blocked: nothing from my last review is fixed yet. The new tracker commit 3976f17 looks right.

What I ran

On 3976f17: npm run build && npm test && npm run typecheck && npm run lint && npm run format:check all pass, with 215 CLI tests and 26 web tests.

The new line fits on the sign. Its longest form ("not yet" three times) is 83 monospace characters at 15px, about 747px. The space between the face's margins (left 48 to right w - 48) is 769px. The loop count on its own line at y 278 is still inside the face, which is 338 tall.

Still to fix (from my last review)

  1. Rebase onto main. The PR is still CONFLICTING.
  2. Add verifications/548.md. It's still missing. Include the tracker with the hummingbird found.
  3. The snake is checked before the hummingbird (index.html:3836). A click on the right side of the freshly open flower still wakes the snake instead of the hummingbird.
  4. The scroll hint can freeze part-way through its wiggle when the loop is frozen (?u=, or the reduced-motion setting), at index.html:1977.

…atted

Click the moonflower on the right of the right post, two up from the ground,
while it is open and all three people are in their chairs at the fire. A pale
moth comes out of it, flutters over to the one in the red chair and round their
head, they swat at it, and it goes off low over the river to the right, the
way the blackbird leaves.

The moth's own shape is taken out of the night, so it stays pale in the dark
like the flower. The first find is kept and sent (`moth`, `moth_found`) and is
on the last frame's tracker, which is now the snake, the bird and the loops on
one line and the hummingbird and the moth on the next.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@loopway-bot

Copy link
Copy Markdown
Contributor Author

Blocked: the four points from my last review are still open. The new moth commit 35328c7 works.

What I ran

On 35328c7: npm run build && npm test && npm run typecheck && npm run lint && npm run format:check all pass, with 215 CLI tests and 27 web tests (one new).

What the moth does, checked against the code:

  • The moth's flower overlaps the snake's rock, and this commit handles that correctly: clickable checks the moth before the snake (index.html:3912).
  • swatting only changes the pose of whoever is still in the red chair.
  • changing() includes the moth, so a frozen page (?u=) keeps drawing while it flies.
  • The tracker's two lines fit on the sign.

Must fix (still open)

  1. Rebase onto main. The PR is still CONFLICTING.
  2. Add verifications/548.md. It's still missing. It should now also cover the moth:
    • a click while the flower is open and all three people are seated brings the moth, and the swat;
    • a click at any other time does nothing;
    • moth_found is sent once.
  3. The hummingbird is checked after the snake (index.html:3915). It is the same overlap the moth fix handles, the other way round: the right side of the morning glory's click circle is inside BUSH_SPOT. Move the hummingbird check above the snake's, the way the moth's is.
  4. The scroll hint can freeze part-way through its wiggle when the loop is frozen (?u=, or the reduced-motion setting), at index.html:1981.

Worth considering

  • The patch of light at night around each moonflower is still cut with the old moonflowerPath (index.html:3552). Since ec51c78, the flowers themselves are drawn by drawTrumpet as a bud that rises and opens, and it is slanted differently. The light only matches a fully open moonflower. While one is opening or shutting at dusk or dawn, the light sits where the old shape was, not on the bud.
  • A CHANGELOG.md line for the new finds and events. The two older optional points are unchanged.

Click the bunch of cattails below the tent at dawn or dusk and a bull moose
walks in along the near bank from the right, eats the bunch (the heads one at
a time, then the leaves), turns, and walks back out the way it came. The bunch
stays eaten, on this visit and later ones, and the moose does not come again.

The last frame's tracker is now a row of boxes (snake, bird, hummingbird,
moth, moose) with the loop count at the right. A box is ticked once the thing
has been found, and none can be ticked there. The moose's box is the only one
that can be unticked: that puts the cattails back, and the moose can come
again.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@loopway-bot

Copy link
Copy Markdown
Contributor Author

Blocked: the four earlier points are still open, and the new moose commit e045b4f has a bug: unticking the moose's box doesn't repaint the sign.

What I ran

On e045b4f: npm run build && npm test && npm run typecheck && npm run lint && npm run format:check all pass, with 215 CLI tests and 28 web tests (one new).

What the moose does, checked against the code:

  • mooseReady gates on !mooseAte, no moose already out, and daylight().twilight.
  • mooseMeal counts heads gone from firstBite on and stays at 0 before it.
  • drawMarsh runs every frame (index.html:4600), so the bunch comes back as soon as mooseAte goes false.
  • Only the moose's box ever gets a hit, and only once the moose is found and not out.

Must fix

  1. Unticking the moose doesn't repaint the sign (index.html:4885). press calls keep({ moose: false }) and nothing else. The tracker is painted into boardCanvas only by drawBoardFace, so the box stays ticked, and its hit stays, until the face is painted again (scroll away and back, or resize). The cattails do come back in the picture, so the sign and the picture disagree. On a frozen page (?u=) nothing redraws at all, because nothing calls wake(), so the click shows no change anywhere.

    The same gap applies to a find made while the last frame is showing. For example, call the moose at dusk while the tracker is on the sign: its box doesn't tick until the face is repainted.

    Fix: call redrawFace() after keep(...) in the untick branch, and in found() when shown === FRAMES.length - 1. redrawFace() already wakes a frozen page. Add a test that the untick repaints.

  2. Rebase onto main. The PR is still CONFLICTING.

  3. Add verifications/548.md. It's still missing. It should now also cover the moose:

    • a click at dawn or dusk brings it, and it eats the bunch;
    • the bunch stays eaten after a reload;
    • unticking the box brings the cattails back;
    • moose_found is sent on the first find, and again after an untick.
  4. The hummingbird is still checked after the snake (index.html:4150). Part of its flower sends the snake out instead.

  5. The scroll hint can freeze part-way through its wiggle when the loop is frozen (?u=, or the reduced-motion setting), at index.html:2211.

Worth considering

  • moose_found can now be sent more than once per browser, so docs/developing.md correctly no longer says "first time only" for it. Any PostHog funnel that counts *_found events as unique finds will count re-finds.
  • The earlier optional points are unchanged:
    • the moonflower light at night is still cut in the old flower shape;
    • a CHANGELOG.md line;
    • a load fallback for the wordmark;
    • the comment that still says the hint "blinks".

…asier to find

- The moose is redrawn as one animal with a drawn outline: a deep chest under a
  shoulder hump, a sloping back, legs thick above the knee and thin below with
  pale stockings and hooves, a long face with a swollen nose and an overhanging
  top lip, a bell, an ear. No more round-ended strokes and a circle for a nose.
- Walking out, its stride ran backwards, so it slid. The stride now runs forward
  with the ground it covers in both directions.
- It turned by flipping where it stood, which put its head straight off the right
  edge. It now turns on its front feet, so the head comes round into the picture.
- It can be called for the whole first half of the day and of the night: from
  just before sunrise until midday, and from just before sunset until midnight.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@loopway-bot

Copy link
Copy Markdown
Contributor Author

Blocked: all five points from my last review are still open. The new moose commit 695ab8f looks right.

What I ran

On 695ab8f: npm run build && npm test && npm run typecheck && npm run lint && npm run format:check all pass, with 215 CLI tests and 28 web tests.

What the commit does, checked against the code:

  • The turn has no jumps. At flip = 1 the moose is at stand, and at flip = -1 it is at stand - 2·pivot, which is where going starts. y stays on stand throughout, and walk is 0 while it turns.
  • The new time window matches the docs. In daylight, sunrise is sunU = 0, midday 0.25, sunset 0.5 and midnight 0.75. So mod(sunU + 0.06, 0.5) < 0.31 is open for sunU from −0.06 to 0.25 and from 0.44 to 0.75, as docs/developing.md now says.

Must fix (still open)

  1. Unticking the moose doesn't repaint the sign (index.html:4989). keep({ moose: false }) is still the only thing the click does:

    • the box stays ticked until the face is painted again;
    • on a frozen page (?u=) nothing redraws;
    • a find made while the last frame is showing doesn't tick its box either.

    Call redrawFace() there, and in found() when the tracker is showing.

  2. Rebase onto main. The PR is still CONFLICTING.

  3. Add verifications/548.md. It's still missing.

  4. The hummingbird is still checked after the snake (index.html:4254).

  5. The scroll hint can freeze part-way through its wiggle when the loop is frozen (?u=, or the reduced-motion setting), at index.html:2314.

Worth considering

  • The front feet still slide about 25 px while the moose turns. pivot is 40 × size, about 42, but the front hooves sit at about −46 (the average of hips −36 and −52, × 1.05). So mirrored about x they land about 2 × (46 − 42) ≈ 8 px off, plus the stride offset. A pivot near 46 would keep them planted.
  • The earlier optional points are unchanged.

After eating it lifts its head and keeps walking the way it was facing: along
the near bank and down toward us, growing a little as it comes, until it has
gone out under the bottom of the picture. The turn on the spot is gone.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@loopway-bot

Copy link
Copy Markdown
Contributor Author

Blocked: the five points from my last review are still open. The new commit 62bc70f looks right, and it drops the turn, so the foot-slide point from last time no longer applies. That point also contradicted itself: it said about 25 px, then worked out about 8 px.

What I ran

On 62bc70f: npm run build && npm test && npm run typecheck && npm run lint && npm run format:check all pass, with 215 CLI tests and 28 web tests.

I also rendered copies of the page in headless Chrome at ?u=0.2, with MOOSE.start set back by a given number of seconds. In this build the moose leaves at 10.6 s and is gone at 18.4 s, and the bunch is the two clumps at (1324, 924) and (1343, 924).

  • At 7 s it stands at the bank with its head down in the bunch. Nothing drawn after the marsh covers it.
  • At 16 s it is out under the bottom edge, and both clumps are gone.

Walking out, stride uses along().d, so the legs run forward with the ground covered. size only grows once it is below stand.

Must fix (still open)

  1. Unticking the moose doesn't repaint the sign (index.html:4994). Call redrawFace() after keep({ moose: false }), and in found() when the tracker is showing.
  2. Rebase onto main. The PR is still CONFLICTING.
  3. Add verifications/548.md. It's still missing.
  4. The hummingbird is still checked after the snake (index.html:4259).
  5. The scroll hint can freeze part-way through its wiggle when the loop is frozen (?u=, or the reduced-motion setting), at index.html:2319.

The body's rise and fall is a third of what it was, the head nods much less,
and the feet lift lower, so the walk is heavy rather than bouncy.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@loopway-bot

Copy link
Copy Markdown
Contributor Author

Blocked: the five points from my last review are still open. The new walk in ab48ec3 looks right.

What I ran

On ab48ec3: npm run build && npm test && npm run typecheck && npm run lint && npm run format:check all pass, with 215 CLI tests and 28 web tests.

What the walk does, checked against the code:

  • Each foot is placed by spot(n), a fixed point on the ground. The leg's position relative to the body is divided by size · narrow and multiplied back by the same ctx.scale, and bob is taken back off the hoof, so a planted foot stays put.
  • While the moose stands, cycle is 0.04, and every leg's phase (0.04 to 0.60) is under planted (0.65). So all four feet are down while it eats.

I also rendered copies of the page in headless Chrome at ?u=0.2:

  • At 2.5 s it is coming in along the bank.
  • At 13.5 s it is walking out along the near bank, past the eaten bunch and in front of the river, with the clumps lower in the picture drawn in front of it.

Must fix (still open)

  1. Unticking the moose doesn't repaint the sign (index.html:5079).
  2. Rebase onto main. The PR is still CONFLICTING.
  3. Add verifications/548.md. It's still missing.
  4. The hummingbird is still checked after the snake (index.html:4344).
  5. The scroll hint can freeze part-way through its wiggle when the loop is frozen (?u=, or the reduced-motion setting), at index.html:2404.

The tracker has a second row for the four that come by on their own. Each is
ticked the first time it is on the picture, kept like the others, and sends
nothing to PostHog. The row above it is still the five that have to be found,
which do send their first find.

Unticking the moose now sends `moose_unchecked`.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@loopway-bot

Copy link
Copy Markdown
Contributor Author

Blocked: the five points from my last review are still open. The new tracker row in 18eef2a works, but it widens point 1.

What I ran

On 18eef2a: npm run build && npm test && npm run typecheck && npm run lint && npm run format:check all pass, with 215 CLI tests and 29 web tests (one new). This review also covers 4e87b1b (the steadier walk), which changed only constants.

What the new row does, checked against the code:

  • see() names BLACKBIRD.in/off, JUMPS, JUMP_LENGTH, squirrel() and skunk(), and all of them exist.
  • see() reads storage only once per name per visit, and sends nothing.
  • The second row, at y 286, is inside the 338-tall face.
  • The moose's hit box is still on the top row only (y 240 to 272).

Must fix (still open)

  1. The tracker isn't repainted when it changes. This now also covers the new row:

    • unticking the moose doesn't repaint the sign (index.html, the hit.kind === "moose" branch);
    • neither found() nor the new see() repaints it.

    With the last frame showing, the squirrel can cross or the skunk come out and the box stays empty until you scroll away and back. Call redrawFace() when keep() changes something and the last frame is showing.

  2. Rebase onto main. The PR is still CONFLICTING.

  3. Add verifications/548.md. It's still missing. It should now also cover the second row ticking itself, and moose_unchecked being sent.

  4. The hummingbird is still checked after the snake (clickable).

  5. The scroll hint can freeze part-way through its wiggle when the loop is frozen (?u=, or the reduced-motion setting), at index.html:2411.

Worth considering

  • skunk(u) is non-null from SKUNK.from on, while it is still under the bush. So "on the picture" ticks a moment before it shows. That's harmless unless the tracker repaints live, as point 1 asks.

mcwhittemore and others added 2 commits November 13, 2026 00:18
Only the label changes. It is still kept as `bird` and sent as `bird_found`,
so finds made before this still count.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Click the birch at the left as a trout is about to jump and an eagle flies out
of it at the trout. The perfect moment to click is the one that puts the eagle
over the trout at the top of its jump, flying at its usual speed from the tree:

- within half a second of perfect, it takes the trout out of the air (it
  hurries or dawdles a little so that it is there at the top of the jump). The
  trout does not come down and makes no splash going in, and the eagle carries
  it back to the tree;
- up to a second earlier or later than that, it flies out, stoops and misses;
- any other time, nothing happens.

Flying at all ticks an `eagle` box and sends `eagle_found`. The catch ticks a
secret `dead fish` box, which is not on the tracker until it is earned, and
sends `deadfish_found`. The loop count moves to the tracker's second row.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@loopway-bot

Copy link
Copy Markdown
Contributor Author

Blocked: the five points from my last review are still open. The new eagle in af203e1 works. This review also covers 49ce077 (the chickadee label).

What I ran

On af203e1: npm run build && npm test && npm run typecheck && npm run lint && npm run format:check all pass, with 215 CLI tests and 30 web tests (one new).

What the eagle does, checked against the code:

  • out is always positive. From NEST (58, 452) at 430 px/s, the eagle's usual flight to each jump's top is about 3.2 s (at 0.03), 1.3 s (0.512) and 2.0 s (0.69). All are over 0.5 s, so a catch never gets a zero or negative time and the flight keys stay in order.
  • The timing lines up. jumpTop (x + dir·40, y − 60) is the top of the arc drawTrout draws. EAGLE.taken.at is now + untilTop, so the trout disappears at the moment the eagle is over it. Only the entry ring and spray are dropped; the exit ring stays.
  • The click doesn't overlap anything. BIRCH_SPOT overlaps no other click area, so where the eagle sits in clickable doesn't matter.
  • The tracker rows fit. The top row with eagle ends at about x 633. The second row with dead fish ends at about x 563, and "loops completed" starts at about x 646.

Must fix (still open)

  1. The tracker isn't repainted when keep() changes it. This now includes dead fish, which is meant to appear the moment it is earned. With the last frame showing, it only appears after you scroll away and back.
  2. Rebase onto main. The PR is still CONFLICTING.
  3. Add verifications/548.md. It's still missing. The PR now adds seven finds, a second tracker row and eight new PostHog events, so there's a lot left to record live. The eagle's three timing windows (catch, miss, nothing) need their own steps.
  4. The hummingbird is still checked after the snake (clickable).
  5. The scroll hint can freeze part-way through its wiggle when the loop is frozen (?u=, or the reduced-motion setting).

It no longer goes back to the birch. After its stoop, with the trout or
without it, it keeps going to the right, climbing, and leaves over the right
edge.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@loopway-bot

Copy link
Copy Markdown
Contributor Author

Blocked: the same five points are still open. The new eagle exit in 6e1321b looks right.

What I ran

On 6e1321b: npm run build && npm test && npm run typecheck && npm run lint && npm run format:check all pass, with 215 CLI tests and 30 web tests.

The flight's keys stay in order: 0, out·0.45, out, out + on·0.45, out + on. Here on is at least 1.2 s and out is always positive. away is past the right edge (W + 150), so the eagle no longer needs to shrink at the end, and dropping that is right. EAGLE.start is cleared once it is out, so the birch can be clicked again.

Correction to my last review: in point 3 I overcounted. The PR adds six new PostHog events, not eight:

  • hummingbird_found
  • moth_found
  • moose_found
  • moose_unchecked
  • eagle_found
  • deadfish_found

It adds five finds you click for (hummingbird, moth, moose, eagle and dead fish), plus four that tick themselves. The point itself stands.

Must fix (still open)

  1. The tracker isn't repainted when keep() changes it (unticking the moose, found(), see()).
  2. Rebase onto main. The PR is still CONFLICTING.
  3. Add verifications/548.md. It's still missing.
  4. The hummingbird is still checked after the snake (clickable).
  5. The scroll hint can freeze part-way through its wiggle when the loop is frozen (?u=, or the reduced-motion setting).

mcwhittemore and others added 3 commits November 13, 2026 00:34
Clicked too early there is no trout yet, so the eagle no longer dives at the
empty water. It glides over the place, well above it, with its feet up, and
carries on out of the picture to the right. A late miss still stoops.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
- The eagle's way out to the trout was a curve through set points, which sagged
  below the trout before coming up to it on the long flight to the first jump of
  the day. It is now two plain legs: very nearly straight from the tree to the
  trout, then level for a moment and a climb away at a slope it could fly.
- The tracker's boxes are in the order of the day: by the earliest moment in the
  loop each could first be found or seen. The secret dead fish goes last. They
  run on to a second row, with the loop count at its end.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
- The wingbeat is no longer a seesaw: the stroke down is quicker than the stroke
  up, the outer wing trails the inner so the wing bends at the wrist, it is
  spread going down and half folded coming up, the trailing edge is feathered,
  and the body lifts as the wings push down. Over the water it holds them up
  and back.
- The eagle is drawn, not assembled from ovals: a body deep in the chest and
  tapering to a fanned tail with uneven feather ends, leg feathers under it, a
  flat-crowned white head with a ragged edge and a brow over the eye, and a
  heavy hooked bill.
- The dead fish is no longer a box. After the first catch the tracker has three
  places, for the trout of dawn, dusk and night: a fish with a cross for an eye
  for each one caught, and a faint outline for each still to get. Clicking them
  gives all three up, like the moose's box, and sends `deadfish_unchecked`.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@loopway-bot

Copy link
Copy Markdown
Contributor Author

Blocked: the five earlier points are still open. The new commit e921645 also sends three PostHog events nobody asked for.

What I ran

On e921645: npm run build && npm test && npm run typecheck && npm run lint && npm run format:check all pass, with 215 CLI tests and 30 web tests. This review also covers f702eac (the early fly-over) and 54643c5 (the straighter flight and the tracker in day order), which looked right.

Checked against the code:

  • FISH lines up with JUMPS: at 0.03 is dawn, 0.512 is dusk and 0.69 is night.
  • The three fish start after skunk on the second row and end at about x 453. "loops completed" starts at about x 646, so they don't overlap.

Must fix

  1. The catch sends three undocumented events (index.html:4477). found(deadfish_${EAGLE.fish}) goes through found(), and found() always calls track(${what}_found). So the first catch at each trout sends deadfish_dawn_found, deadfish_dusk_found or deadfish_night_found. They are not in docs/developing.md's PostHog list, and the commit message doesn't mention them.

    If they are only meant to be kept, use keep({ [deadfish_${EAGLE.fish}]: true }). If they are meant to be sent, list them.

    Either way, the docs' PostHog list is now out of date in three other places:

    • it doesn't name deadfish_unchecked;
    • it still says deadfish_found is sent "the first time only", though unticking now re-arms it like the moose's;
    • it still says "the moose's is the one box that can be unticked".

    Add a test that pins which names reach track.

  2. The tracker isn't repainted when keep() changes it. This now includes giving up the dead fish: the fish stay drawn, and still clickable, until you scroll away and back.

  3. Rebase onto main. The PR is still CONFLICTING.

  4. Add verifications/548.md. It's still missing.

  5. The hummingbird is still checked after the snake (clickable).

  6. The scroll hint can freeze part-way through its wiggle when the loop is frozen (?u=, or the reduced-motion setting).

- The log used to shrink away in the hands. Now the one carrying it leans in and
  lets it go: it drops in a short arc onto the fire, the flames closing over it,
  and lands across the two logs there with a jolt, a burst of sparks and a
  flare. It lies there burning, blacker and thinner, until mid-morning.
- Three clicks on `loops completed` inside a second wipe everything kept: every
  tick, the dead fish, the eaten cattails and the count. One click does nothing,
  and the count gives no sign it can be clicked. It sends `tracker_reset`.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@loopway-bot

Copy link
Copy Markdown
Contributor Author

Blocked: the six points from my last review are still open. The new log and reset code in 544217e works, but the reset makes point 2 more visible.

What I ran

On 544217e: npm run build && npm test && npm run typecheck && npm run lint && npm run format:check all pass, with 215 CLI tests and 32 web tests (two new).

Checked against the code:

  • The log. left is 0 from u 0.22 until LOG.let, the log flies from let to lands, and since wraps correctly over midnight. The jolt, flare and sparks only fire after lands, and the sparks are done by about u 0.976, before the wrap.
  • The reset's click area. It sits at about x 640 to 823, rows 266 to 296, and doesn't overlap the dead fish's (at most x 453) or the moose's (top row).
  • The reset itself. forgetAll clears SEEN. keep() sets mooseAte back to false, so the cattails return.

Must fix (still open)

  1. The catch still sends deadfish_dawn_found, deadfish_dusk_found and deadfish_night_found (index.html:4528, found(deadfish_${EAGLE.fish})). The docs' PostHog list still doesn't name those, deadfish_unchecked or tracker_reset. It also still says deadfish_found is sent "the first time only" (re-sent after a give-up or a reset) and "the moose's is the one box that can be unticked".
  2. The tracker isn't repainted when keep() changes it. The reset makes this the most visible case yet: three quick clicks on the count and nothing on the sign changes. Every tick, the fish and the count stay as they were until you scroll away and back. Call redrawFace() from keep() when the last frame is showing.
  3. Rebase onto main. The PR is still CONFLICTING.
  4. Add verifications/548.md. It's still missing.
  5. The hummingbird is still checked after the snake (clickable).
  6. The scroll hint can freeze part-way through its wiggle when the loop is frozen (?u=, or the reduced-motion setting).

…aits

- The log landing on the fire raises the flames only a little, knocks out five
  small sparks and not eleven, and barely bounces.
- The blackbird stays on its cattail half a second longer, with one more look
  round, so an eagle that takes the dusk trout is well clear before the
  blackbird leaves the same way.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@mcwhittemore

Copy link
Copy Markdown
Collaborator

resolve conflicts

@mcwhittemore
mcwhittemore marked this pull request as ready for review November 13, 2026 06:01
@mcwhittemore

Copy link
Copy Markdown
Collaborator

Resolve all the feedback in #548 (comment)

@mcwhittemore mcwhittemore self-assigned this Nov 13, 2026
loopway-bot and others added 2 commits November 13, 2026 01:04
… every event; verification

Merged main (one docs conflict). The hummingbird's flower is asked for before the snake's bush, the
scroll hint is drawn at rest on a frozen day, and the docs list every PostHog event the page sends.
Adds verifications/548.md.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot removed the conflicts Conflicts with its base branch; set and cleared by the Label merge conflicts workflow label Nov 13, 2026
@loopway-bot

Copy link
Copy Markdown
Contributor Author

Needs changes: the code points are fixed, and two small doc items are left. I also got one point wrong in my earlier reviews (below).

What I ran

On 251f0b9, after the merge of main: npm run build && npm test && npm run typecheck && npm run lint && npm run format:check all pass, with 218 CLI tests and 40 web tests, which matches verifications/548.md. CI is green: test, label and cli-version. GitHub now reports the PR as MERGEABLE.

Earlier points

  • Hummingbird before snake: fixed. There's a test that pins the order.
  • Scroll hint at rest when frozen: fixed. With t = 1.5, swell is 0. There's a test.
  • Merge conflict: fixed. Main was merged in, not rebased.
  • The deadfish_<time>_found, deadfish_unchecked, moose_unchecked and tracker_reset events: fixed. They are now documented, with a test that reads the docs. Keeping the per-trout events rather than dropping them is Matthew's call.
  • Tracker repaint: I was wrong, and it was never a bug. keep() already ends with if (shown === FRAMES.length - 1) redrawFace();, which has been there since Home page refresh: the billboard is the site, with five scrolling frames #525 (84411c7). So unticking, found(), see() and the reset all repaint the sign. I missed that line, and I repeated the point across several reviews. Sorry for the noise. The record's live reset check confirms it.
  • Verification record: added, but see point 1 below.

Must fix

  1. verifications/548.md has two wrong statements.
    • It says the spruce outline was "traced from a stock silhouette image (svgheart.com) … its licence has not been checked". That outline was removed in 2ef85a6, and nothing from it is left in index.html (PINE and svgheart match nothing). The PR description says the same, so drop it from both.
    • It says the moose, eagle, moth, log and so on were "reviewed by the review bot". I only read the code, and rendered two moose frames in headless Chrome. I did not run any of them live. List them as not checked, including that no *_found or *_unchecked event was seen reaching posthog.capture.
  2. CHANGELOG.md is now wrong about the home page. Its entry still describes "a small tracker of the snake, the bird and the loops you have seen". It needs a line for the new finds (hummingbird, moth, moose, eagle and the dead fish), the self-ticking second row, giving a find back up, the triple-click reset, and the new PostHog events.

Worth considering

  • The load fallback for wordmark.decode(), and the moonflower night glow still cut in the old bud shape, are unchanged from earlier reviews.

…was not run live

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@loopway-bot

Copy link
Copy Markdown
Contributor Author

Pushed 8967da2 for the two remaining points. Only docs changed, so I did not rerun the code checks; npm run format:check passes.

  • verifications/548.md no longer says the moose, eagle, moth and log were reviewed. They are now listed as not run live, and it says no *_found, *_unchecked or tracker_reset event was seen reaching posthog.capture. The traced-spruce licence note is gone, since that outline was dropped in 2ef85a6. The PR description already had no mention of it.
  • CHANGELOG.md's home page entry now covers the tracker of finds, the new hidden finds (hummingbird, moth, moose, eagle, dead fish) and the ones that tick themselves, giving a find back, the triple-click reset, and the new PostHog events.

Not done: the load fallback for wordmark.decode() and the moonflower night glow in the old bud shape. Both were marked optional.

@loopway-bot

Copy link
Copy Markdown
Contributor Author

Ready to merge, once the pending test run on 8967da2 goes green. Both remaining points are fixed.

What I ran

8967da2 changes only CHANGELOG.md and verifications/548.md, so the code is the same as 251f0b9. There, build, tests (218 CLI and 40 web), typecheck, lint and format all passed. npm run format:check passes on 8967da2 too. CI: label and cli-version pass, and test is still running. GitHub reports the PR as MERGEABLE.

Earlier points

  1. Verification record: fixed. It now lists what was not run live:

    • the moose, eagle (catch, miss and fly-over), moth, the log, the self-ticking row, giving the dead fish up, and the birch, snake and spruce changes;
    • no *_found, *_unchecked or tracker_reset event was seen reaching posthog.capture.

    The stale licence note is replaced by a line saying the traced outline was dropped in 2ef85a6. The PR description doesn't mention it either.

  2. CHANGELOG: fixed. The home page entry now covers the tracker, the hidden finds, the self-ticking ones, giving a find back, the reset and the new events.

Worth considering

  • That entry is under ## 2.0.0, and cli-v2.0.0 was released at 03:58 today. The home page deploys from main on its own, so this is harmless, but it does change notes for a version that's already out. An ## Unreleased heading would keep them apart.
  • Two optional points are unchanged: the load fallback for wordmark.decode(), and the moonflower night glow still cut in the old bud shape.
  • #543 stays open (Refs), as the PR says.

@mcwhittemore
mcwhittemore merged commit 00a2d0c into main Nov 13, 2026
3 checks passed
@mcwhittemore
mcwhittemore deleted the issue-543-scroll-blink branch November 13, 2026 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants