Visual overhaul + generated art: avatars, felt, backdrop, sound and ambience #25

Merged
cmoriarty merged 1 commit from osf/visual-overhaul-generated-assets into main 2026-12-04 12:28:43 -05:00
Owner

A generated-art visual overhaul plus the usability pass: avatars, felt and tavern backdrop are now generated WebP art, the card sounds and a quiet looping ambience are generated audio (with the synthesized blip kept as a silent fallback), and the table, landing, room and end screens carry it. Names and text are bigger and wrap, touch targets are 44px, Escape closes the help and scoreboard dialogs, and the service worker precaches everything.

Checks

  • Tests: 283 passed (26 files) in the unit suite; npm run typecheck clean. No CI runs on this project — what the suite covers is what verifies this.
  • Seen working: landing, waiting room, and the full bidding/playing table verified on the desktop app and on iOS Safari in the simulator (avatars render in the picker, in seats, in the waiting room, and in the hand area).
  • Audio judged with the repo's judge-audio skill: the 32s ambience is the strongest pick (0.36 match, quality 22.8, seam jump 0.005). The card SFX are weak matches (deal/play/trick/scratch/win < 0.1 match, thin clips) and should be auditioned before shipping — they are kept, since re-rolls came out near-silent.

Not done / honest caveats

  • The 32s ambient loop is a finite clip that restarts from the top each loop; it is not designed as a sample-perfect seamless loop (judge seam jump 0.005, ends cleanly).
  • I did not listen to the sounds — they were re-checked with the judge after normalization, and the numbers are safe (no clipping, ~-20 LUFS, peaks 0.26-0.59), but they need a human ear. If a clip doesn't land, delete it and the synthesized fallback takes over automatically.
  • Card faces and the card back stay hand-drawn SVG on purpose: raster at small sizes would sit worse.

Try it

  1. git fetch origin && git checkout osf/visual-overhaul-generated-assets
  2. npm test, then npm start
  3. Open the app, create a room, fill seats with bots, start the game — the table should show the felt texture, generated avatar faces and quiet ambience (audio on your speaker; the ambience starts quietly after the first tap)
  4. Check the picker on the landing page and the end screen's fanfare after the final round.
A generated-art visual overhaul plus the usability pass: avatars, felt and tavern backdrop are now generated WebP art, the card sounds and a quiet looping ambience are generated audio (with the synthesized blip kept as a silent fallback), and the table, landing, room and end screens carry it. Names and text are bigger and wrap, touch targets are 44px, Escape closes the help and scoreboard dialogs, and the service worker precaches everything. **Checks** - **Tests:** 283 passed (26 files) in the unit suite; `npm run typecheck` clean. No CI runs on this project — what the suite covers is what verifies this. - **Seen working:** landing, waiting room, and the full bidding/playing table verified on the desktop app and on iOS Safari in the simulator (avatars render in the picker, in seats, in the waiting room, and in the hand area). - **Audio judged with the repo's judge-audio skill:** the 32s ambience is the strongest pick (0.36 match, quality 22.8, seam jump 0.005). The card SFX are weak matches (deal/play/trick/scratch/win < 0.1 match, thin clips) and should be auditioned before shipping — they are kept, since re-rolls came out near-silent. **Not done / honest caveats** - The 32s ambient loop is a finite clip that restarts from the top each loop; it is not designed as a sample-perfect seamless loop (judge seam jump 0.005, ends cleanly). - I did not listen to the sounds — they were re-checked with the judge after normalization, and the numbers are safe (no clipping, ~-20 LUFS, peaks 0.26-0.59), but they need a human ear. If a clip doesn't land, delete it and the synthesized fallback takes over automatically. - Card faces and the card back stay hand-drawn SVG on purpose: raster at small sizes would sit worse. **Try it** 1. `git fetch origin && git checkout osf/visual-overhaul-generated-assets` 2. `npm test`, then `npm start` 3. Open the app, create a room, fill seats with bots, start the game — the table should show the felt texture, generated avatar faces and quiet ambience (audio on your speaker; the ambience starts quietly after the first tap) 4. Check the picker on the landing page and the end screen's fanfare after the final round.
- Generated avatars for all 17 ids (12 human + 5 bot personas), rendered as
  <img> circles; the SVG faces are gone but their contract (data-avatar,
  fallback initial) is preserved.
- Generated velvet felt + tavern backdrop textures wired into the felt,
  landing, room and end screens under dark scrims.
- Generated sound effects (deal/play/trick/scratch/win) with the synthesized
  blip as silent fallback; new looping ambience module (quiet, pauses on
  mute/hidden tab); win fanfare on the end screen.
- manifest.webmanifest gains lang; sw.js precaches textures/audio/avatars.
- Static server learns webp/wav/mp3 MIME types.
- Usability pass: avatars/names readable at small sizes, seats simplified to
  floating avatar+name strips (no more chrome), wrapping names, one-line
  'No cards yet', 44px touch targets, Escape closes help/scoreboard, bot
  chips carry a title tooltip, humanized picker labels, end screen scrolls.
cmoriarty deleted branch osf/visual-overhaul-generated-assets 2026-12-04 12:28:43 -05:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
cmoriarty/scratch-vllm-fp8!25
No description provided.