Skip to content

Kit v0.4.0: ProofEr review fixes (audible drone on small speakers, laptop type sizes, text never over data) - #23

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

BPMData merged 17 commits into
mainfrom
claude/dreamy-gates-essay-fixes

Conversation

@BPMData

@BPMData BPMData commented Dec 1, 2026

Copy link
Copy Markdown
Owner

Kit v0.4.0: fixes from ProofEr's review of the essay demo

Merge order: BPMData/EOMD#21, then BPMData/EOMD#22, then this. Each builds on the one before. Until those are merged, this PR also shows their commits.

This is a minor bump: the fixes add knobs (partials, shift, low, tally boxSide) and a scene method (marks). Essays built on 0.3.0 still play.

1. The drone bed plays on phone and laptop speakers. One commit.

  • The body is now an open chord from D4 up (D4 A4 D5 E5 A5: no third, no melody), with soft overtones and a breath of air around 1.8 kHz.
  • D2 stays as an optional low layer for headphones.
  • The default target is −28 LUFS, and the true-peak limiter stays.
  • To keep it even, levels drift by at most about 1.5 dB and the slow change is in the overtones.
  • ffmpeg measurements, before → after:
    • full band: −36.0 → −28.0 LUFS;
    • above 300 Hz: ≈ −54 → −30.3 LUFS;
    • above 400 Hz: −54.3 → −32.0 LUFS;
    • loudness range: 1.5 LU;
    • true peak: −20.6 dBTP.
  • New small-speaker check in tools/render-bed.js and essay-qa.js: loudness above 300 Hz must be within 6 dB of the full band. It reports both numbers, and an approximation of the old bed fails it by 18 dB.
  • A 60 s MP3 was sent to Bryan in the session. It isn't committed because the repo ignores MP3s.

2. Bigger small type on laptops and TVs. One commit.

  • On landscape screens 600 px or taller, labels, notes, source lines and the sources list now have a minimum size tied to the screen's height.
  • At 1920×1080: category labels 19 → 26 px, sources list 20 → 28 px.
  • At 1366×768: 14 → 18 px and 15 → 20 px.
  • Phone sizes are unchanged, held upright or sideways.

3. Text never covers data. One commit.

  • Scenes report where their marks are drawn at full size, and E.layoutCheck() flags any text panel over a bar, dot or circle.
  • Fixes for what the check found:
    • in portrait, the tally's count panel no longer covers the last rows of dots;
    • in landscape, three lines of Spanish text no longer run into the tallest bar's value;
    • phones held sideways (aspect 1.9 and up) get a new side layout, with data on the right and words in a left column.
  • The controls now stay hidden unless the pointer really moves: a synthetic mousemove was waking them in stills.

QA

  • Every beat of the demo was checked at 1920×1080, 1366×768, 390×844 and 844×390, in English and Spanish: no text over data, no overlaps, nothing cut off.
  • Full essay-qa.js runs at 1920×1080 and 390×844 both PASS:
    • 80 text blocks, all AA, the worst at 6.9:1;
    • at most 1 flash a second;
    • no page errors;
    • the bed plays 6–7 s after Begin, rendered in the worker, and passes the small-speaker check.
  • Still to do: Bryan's listen on real phone and laptop speakers. Nothing has been tried on a real phone or GPU yet.

Generated by Claude Code

claude added 17 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
…ith soft overtones and 1.8 kHz air, D2 kept as an optional low layer, -28 LUFS default, even (LRA 1.5 LU); small-speaker check (loudness above 300 Hz within 6 dB of full band) in render-bed.js and essay-qa

Measured with ffmpeg: -28.0 LUFS full band, -30.3 above 300 Hz, -32.0 above 400 Hz (was -54.3), true peak -20.6 dBTP.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ad4FSZyShDwuPQbAcgGJY3
… the sources list get a floor tied to screen height on landscape screens 600 px or taller (1920x1080: category labels 19 -> 26 px, sources 20 -> 28 px; 1366x768: 14 -> 18 px, 15 -> 20 px); phone sizes unchanged

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ad4FSZyShDwuPQbAcgGJY3
…arks) and E.layoutCheck() flags text panels over them; portrait band moved so the tally's count panel clears every dot; landscape band lowered (3-line text vs the tallest bar's value); new side layout for very wide screens (phones held sideways: data right, words in a left column); controls stay hidden unless the pointer really moves

Checked every beat of the demo at 1920x1080, 1366x768, 390x844 and 844x390, in English and Spanish: no text over data, no overlaps, nothing cut off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ad4FSZyShDwuPQbAcgGJY3
…, laptop type sizes, text never over data); demo uses the default bed; changelog, kit README, TODO, STATUS

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