Skip to content

feat: persistent top-center title + "by Noah Federovitch" credit - #16

Merged
DecodedXR merged 1 commit into
mainfrom
feat/title-and-credit
Jul 4, 2026
Merged

DecodedXR merged 1 commit into
mainfrom
feat/title-and-credit

Conversation

@DecodedXR

Copy link
Copy Markdown
Owner

What

User-directed polish (not a milestone): surface the Live Depth Field name from the boot loader onto the running app — persistently at the top-middle of the screen — and add the author credit by Noah Federovitch beneath it.

How

Both are static presentational chrome:

  • index.html — an inline #app-title overlay (name + credit), like #boot-loader, so it's in the page from the first paint and testable in the raw server bytes.
  • src/style.css — styled to mirror the boot loader's phosphor-green .boot-title (uppercase name in --accent with a green glow, dimmer --accent-dim credit line, monospace). pointer-events: none so it never intercepts orbit drags on the canvas; z-index: 5 (below the loader's 10) so the loader still fully covers it during boot.
  • No JS. src/main.js, the render loop, OrbitControls, the geometry/shader, and the M4 decoupling machinery are byte-unchanged.

Test

New smoke test (tests/smoke.spec.js) asserts:

  • both strings ship in the raw server HTML (not JS-injected);
  • the live title is visible, horizontally centered near the top (center within 40px of viewport center, top < 80px);
  • the overlay does not capture pointer events over the canvas (elementFromPoint at its center returns the canvas).

Proven non-tautological: RED on the prior HTML (no #app-title), green only with the change.

Verification

  • Full local suite green (all 16 tests pass individually; the M4 webcam churn tests remain timing-flaky under 2-worker software WebGL — reproduced on the untouched baseline, unrelated to this HTML/CSS change).
  • Independent adversarial verifier (read-only, did not see the implementation reasoning): verdict SOUND — confirmed pointer-events pass-through, correct z-order, safe boot-loader race, non-tautological test, no build/render/existing-test breakage.
  • Review: inline (project's /code-review launches a billed cloud Workflow the user didn't opt into) — no unresolved or judgment-call findings.
  • Verified visually on a real production build: centered green title + credit above the orbiting cloud (~21fps).

Rollback

Pre-change HEAD: d5546e8.

🤖 Generated with Claude Code

Surface the "Live Depth Field" name from the boot loader onto the running
app — persistently at the top-middle of the screen — and add the author
credit "by Noah Federovitch" beneath it.

Both are static presentational chrome: an inline #app-title overlay in
index.html (like #boot-loader, so it paints from the first frame and is
testable in the raw server bytes) styled in src/style.css to mirror the
boot loader's phosphor-green .boot-title. pointer-events:none keeps it from
intercepting orbit drags on the canvas; z-index:5 sits below the loader's
10 so the loader still fully covers it during boot. No JS changes — the
render loop, OrbitControls, geometry/shader, and the M4 decoupling
machinery are byte-unchanged.

Smoke test asserts both strings ship in the raw HTML and the live title is
visible, horizontally centered near the top, and does not capture pointer
events over the canvas. Proven non-tautological (RED on the prior HTML).

Autopilot: user-directed polish (title + credit)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@DecodedXR
DecodedXR merged commit 94b4084 into main Jul 4, 2026
2 checks passed
@DecodedXR
DecodedXR deleted the feat/title-and-credit branch July 4, 2026 17:44
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.

1 participant