Commit 1dc708443e2183ac96f8f94ce0b489c786de50f4

Authored by yibo
1 parent edfe6543

Generate new clips in portrait (480x832) instead of landscape

Swaps the H3_GEN_PARAMS default so future chat-triggered generations come out
mobile-friendly (9:16) instead of 832x480 landscape. Existing library clips
keep whatever aspect ratio they were generated at — the player already uses
object-fit: contain, so mixed aspect ratios render fine either way.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0144MiJ2cLjMd9jWaeEpVfUJ
Showing 1 changed file with 1 additions and 1 deletions
server.js
... ... @@ -97,7 +97,7 @@ function h3ConsoleFetch(pathAndQuery, options) {
97 97 // own past-entry trimming naturally handles a state file that's gone stale
98 98 // (server was down long enough that every persisted entry is in the past).
99 99 const FILLER_DURATION_MS = 30000; // keep the schedule filled at least this far ahead
100   -const H3_GEN_PARAMS = { width: 832, height: 480, frames: 120, steps: 20, turbo: false, seed: 0 };
  100 +const H3_GEN_PARAMS = { width: 480, height: 832, frames: 120, steps: 20, turbo: false, seed: 0 };
101 101 const FPS = 24;
102 102  
103 103 const initialLiveState = loadLiveState();
... ...