Skip to content

Kit v0.3.0: ProofEr's addendum (portrait, text tracks, data-row sequences, drone bed, sources) - #22

Merged
BPMData merged 13 commits into
mainfrom
claude/dreamy-gates-essay-addendum
Dec 1, 2026
Merged

BPMData merged 13 commits into
mainfrom
claude/dreamy-gates-essay-addendum

Conversation

@BPMData

@BPMData BPMData commented Dec 1, 2026

Copy link
Copy Markdown
Owner

Kit v0.3.0: ProofEr's addendum for its first motion essay

Merge BPMData/EOMD#21 first. This branch builds on it, so until #21 is merged this PR also shows #21's commits. Once #21 is merged, only the addendum is left.

The addendum is for holocaust-by-country, which plays on viewers' own laptops, tablets and phones. This is a minor bump, so 0.2.0 stays valid if ProofEr already synced it. One change in behaviour: Space now pauses and plays instead of going to the next beat.

Portrait phones are a first-class target.

  • Scenes lay out again when the screen is taller than wide:
    • bars turn horizontal, with labels above and values at the end;
    • dots and circles move into a band across the middle;
    • corner text goes full width above and below that band.
  • essay-qa.js gains a layout check that flags words or labels that overlap or are cut off.

Plays by itself, with a pause button that stays on screen. It's round, top right, and Space or K also pauses. Presenter notes and the scene grid are dropped from the essay plan (TODO.md).

Text tracks (essay/track.js)

  • On-screen words live in one JSON file per language, keyed by scene id and beat number, never in shaders or the picture.
  • Reading-time holds follow the active language: the demo runs 192.7 s in English and 197.2 s in Spanish.
  • ?lang= or a language menu picks the track. Buttons and notes are translatable, and numbers are formatted for the language.

Data-row templates

  • { sequence, rows, scale } turns each data row into a short run of scenes, with {field} placeholders filled from the row.
  • A missing value is drawn as nothing and labelled "no figure", never as zero.
  • New nested scene for part of a whole (areas proportional).

Drone bed (audio/bed.js)

  • One quiet generated drone: a 30 s loop with no audible joint, normalised to −36 LUFS and true-peak limited at −1.5 dBTP.
  • ffmpeg measures −36.0 LUFS and a true peak of −26.8 dBTP; tools/render-bed.js writes the WAV for that check.
  • It renders in a background worker as soon as the page loads, falling back to the main thread where workers are blocked.
  • The start screen offers "Begin with sound" or "Begin silently", and M or the sound button turns it on or off.
  • Hits and effects are still deferred.

Sources chapter and takeaway

  • type: 'sources' lists sources as titles that are working links (new tab), with the site name and a short note, paged with reading-time holds of up to 40 s.
  • A takeaway text style closes the essay.

Demo (players/essay-demo.html): reshaped to match ProofEr's essay. Made-up rows run through a template, followed by tally, areas, quote, sources and takeaway. It has an English track and a Spanish track I drafted, marked draft: true. The links are placeholder example.org URLs, and there are no real figures.

QA (essay-qa.js on the built file, SwiftShader)

  • At 390×844 in English, 390×844 in Spanish, and 1920×1080 in English:
    • no overlaps and no cut-off text;
    • every text block passes WCAG AA;
    • at most 1 flash a second;
    • no page errors.
  • The 1920×1080 run reported the bed still rendering before the worker change. After it, a separate check had the bed playing 5.5 s after Begin at 1920×1080 and 3.2 s at 390×844. With workers blocked it plays in 3.3 s.
  • Not yet seen on a real phone or GPU.

Open points

  • Country names come from the data row, so they aren't translated. If ProofEr needs translated names, the track will need a field for them.
  • −36 LUFS is a default; ProofEr's brief should set the loudness.

Generated by Claude Code

claude added 13 commits December 1, 2026 16:59
…k, seeded RNG (engine/src/essay/beats.js)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ad4FSZyShDwuPQbAcgGJY3
…follow, keys/swipe/right-click, chapter progress bar, #scene-beat links, help card, no-WebGL2 note) + demo essay content (placeholders)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ad4FSZyShDwuPQbAcgGJY3
…e/tools/essay-qa.js (stills of every beat and transition, flash, contrast and speed report)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ad4FSZyShDwuPQbAcgGJY3
…c/gl/gl.js), scene host + render-to-texture compositor (host.js), example scenes field/bars/tally/areas (scenes.js); lens.drawTexture takes a linear-light GPU texture in a shared context

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ad4FSZyShDwuPQbAcgGJY3
…olve, push; reduced motion -> crossfade) and a 3-flashes-a-second check (E.flashCheck, DHS.essay.flashCount); worst case white<->black: 0 flashes/s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ad4FSZyShDwuPQbAcgGJY3
…xt.js): named positions, soft dark patch, word-by-word fade, data labels, reduced motion; WCAG check per paragraph with opacity and patch composited (E.contrast); fixes: last scene's words, perf timing, stills hide the controls

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ad4FSZyShDwuPQbAcgGJY3
…lens.drawTexture) + demo essay (tools/build_essay_demo.py -> players/essay-demo.html, placeholder content); docs, TODO next list, STATUS

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ad4FSZyShDwuPQbAcgGJY3
… of ProofEr 5929024)

The hook logged every Bash command, including the git commit itself, so proj/<name>/access.jsonl was dirty again
right after every commit and the cloud stop hook never settled. add/commit/push/status plus cd/echo are now skipped;
show, diff, log and everything else stay logged for the stage-read audit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ad4FSZyShDwuPQbAcgGJY3
…ce, per-language text tracks (essay/track.js), data-row scene templates + nested scene, drone bed (audio/bed.js), sources chapter + takeaway, layout check in essay-qa

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ad4FSZyShDwuPQbAcgGJY3
…rough a scene template, sources chapter, takeaway, drone bed

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ad4FSZyShDwuPQbAcgGJY3
…s/render-bed.js; changelog, kit README, TODO, STATUS

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ad4FSZyShDwuPQbAcgGJY3
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ad4FSZyShDwuPQbAcgGJY3
…allback): ready 3-6 s after Begin instead of 90+ s on a slow page; essay-qa reports where it rendered

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ad4FSZyShDwuPQbAcgGJY3
@BPMData
BPMData merged commit ea97c15 into main Dec 1, 2026
12 checks passed
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