diff --git a/e2e/openmotion/assets/ambient.mp3 b/e2e/openmotion/assets/ambient.mp3 index a4c7eeb..a665971 100644 Binary files a/e2e/openmotion/assets/ambient.mp3 and b/e2e/openmotion/assets/ambient.mp3 differ diff --git a/e2e/openmotion/buildComposition.mjs b/e2e/openmotion/buildComposition.mjs index df9e324..20cd20d 100644 --- a/e2e/openmotion/buildComposition.mjs +++ b/e2e/openmotion/buildComposition.mjs @@ -1,43 +1,29 @@ -// STAGE-2/REDESIGN-3 OpenMotion full main-tour: composition builder. +// STAGE-2/REDESIGN-5 OpenMotion full main-tour: composition builder. // -// THIRD-REDESIGN GOAL (structure, not paint): the first two versions both -// read as "the same video" because they shared ONE structural skeleton - -// one dark background for the whole runtime, one centered same-size phone -// for every beat, and identical dark centered title cards between acts. This -// build changes the STRUCTURE, grounded in two real OpenMotion templates: -// - Cash App (motion-55c5fe84): the full-screen BACKGROUND COLOR itself -// switches per chapter (black / gray / neon green), bold capsule -// typography on solid color, phone present on only SOME beats. -// - Emergent (motion-ffaef2b8): opens with PURE DATA (no device) for the -// first ~18s, then a device beat, and ENDS on a wall of many outputs -// fanning out - focus -> richness. +// REDESIGN-5 GOAL, per explicit user feedback on the previous build +// (full-v10.mp4): that build froze a single still PNG for the entirety of +// every mini-app's on-screen window (REDESIGN-4's `layoutAppStage()` +// decision, after two live-video attempts intermittently showed a black +// frame), paired with a "SIGNED EVENT LOG - LIVE" terminal/monospace panel +// (hex hash, `type`/`fields` JSON line, blinking cursor) per app. Both are +// gone: +// - capture.mjs now records ONE dedicated real clip per mini-app (marked +// by tour.mjs's app--start/-end pairs, each extended with a real, +// visibly-moving `linger()` - scroll pulses + a real :hover state, never +// a frozen frame), so every app's clip IS its own on-screen window - +// played back in full, continuously. No hold mechanism, no extracted +// still frames, no mediaStart/dwell estimation: the window duration is +// just that app's own real captured clip length. +// - the per-app side panel is now a single large, bold, SHORT plain- +// language headline (app-store-feature-callout style) with an optional +// small caption naming the real signed event type - no hex, no JSON, no +// monospace/terminal styling anywhere. // -// Concretely this composition is now a RHYTHM of distinct shapes: -// 1. DATA OPEN - bold brand-blue full screen, NO phone: a counting -// "4,200 residents" + animated real resource bars + a -// capsule hook line. (Emergent data-first open.) -// 2. CHAPTER cards - full-screen SOLID bold color, a DIFFERENT color per -// act (azure / amber / teal / violet), kinetic capsule -// typography. (Cash App color-switch chapters.) -// 3. ACT footage - the real captured phone footage, but with a DIFFERENT -// phone framing + field color + 3D tilt per act: Act I -// phone right-anchored & tilted on deep ocean (ledger -// left), Act II left-tilted on charcoal (ledger right), -// Act III right-anchored & tilted on indigo (ledger left), -// Epilogue tilted on plum (ledger right). The old static -// prose side-chips are gone - every act now reads from a -// live, monospace SIGNED EVENT LOG panel (real payload -// types/fields pulled straight from src/lib, scan-wipe -// revealed, blinking cursor) instead of repeating the -// same chat-bubble treatment act after act. -// 4. ASSEMBLY - the real two-device WebRTC clip, full canvas. -// 5. RESULT WALL - 13 real app screenshots fan in to fill the frame, then -// a bold "THE COMMONS" lockup. (Emergent output wall.) -// -// Everything on screen is still real: real captured footage clips, real -// seed-fixture numbers, real captured per-mini-app screenshots, the real -// in-universe copy from tour.mjs. Nothing is fabricated; the only thing that -// changed is the COMPOSITION / motion structure. +// Everything else (data open, chapter cards, assembly two-device clip, +// result wall) is unchanged structurally from REDESIGN-3/4 - this build +// only touches the per-app stage content and its timing math, which is now +// far simpler (sum of real clip durations, not an estimated reading-time / +// real-dwell / hold-floor computation). // // REBUILD + RENDER (captured footage in assets/*.mp4 is reused as-is; only // run capture.mjs/captureAssembly.mjs again if the app's UI itself changed): @@ -53,7 +39,7 @@ import { execFileSync } from "node:child_process"; import { dirname, resolve } from "node:path"; import { fileURLToPath } from "node:url"; import ffmpegStatic from "ffmpeg-static"; -import { TITLE_CARDS, WAVE1_FIX_CALLOUTS } from "./tour.mjs"; +import { TITLE_CARDS } from "./tour.mjs"; import { HOLLOW_DEMO_FIXTURE } from "../../src/admin/seedEvents.ts"; const __dirname = dirname(fileURLToPath(import.meta.url)); @@ -84,11 +70,10 @@ const esc = (s) => String(s).replace(/&/g, "&").replace(/ Number(Number(n).toFixed(3)); // --------------------------------------------------------------------- -// Palette: a COLOR JOURNEY (the whole point of the redesign). Bold -// saturated chapter colors punctuate darker tinted act fields, so the -// background visibly changes shape over the runtime instead of one dark -// blue the whole time. No pure white anywhere (keeps the luma scan clean - -// no white-flash ambiguity). +// Palette: a COLOR JOURNEY. Bold saturated chapter colors punctuate darker +// tinted act fields, so the background visibly changes shape over the +// runtime instead of one dark blue the whole time. No pure white anywhere +// (keeps the luma scan clean - no white-flash ambiguity). // --------------------------------------------------------------------- const BRAND = "#1677FF"; const COLORS = { @@ -133,9 +118,7 @@ const WALL_TILES = [ // --------------------------------------------------------------------- const XF = 0.5; // crossfade overlap between consecutive segments const DATA_DUR = 7.0; -const CH_DUR = 3.1; // chapter card window (lengthened from 2.6s in redesign-4 to give the -// now-two-line ledger entries a beat more breathing room between acts without touching -// any real captured footage - the only lever available that doesn't alter clip lengths). +const CH_DUR = 3.1; // chapter card window const WALL_DUR = 7.0; function clipDur(clips, name) { @@ -145,81 +128,51 @@ function clipDur(clips, name) { } // --------------------------------------------------------------------- -// Per-mini-app segments (REDESIGN-4: "3 minutes, one blurb each"). Each of -// the 13 mini-apps gets its OWN dedicated on-screen window inside its act's -// shared field/frame/ledger-panel, long enough to read a short benefit-first -// blurb (~2 words/sec). `mediaStart` is the real, already-captured footage -// offset (seconds) INTO that act's own asset file (assets/act1.mp4 etc., -// verified against capture-manifest.json's beats minus the act's srcStartS) - -// never a fabricated timestamp. When an app's real dwell in the footage -// (time until the next app's mediaStart, or the asset's end) is shorter than -// its reading time, the extra window time is a HOLD: the same