fix(promo-video): one ledger entry on screen at a time, drop NEW framing
Act II alone stacked all 6 mini-apps' two-line ledger entries visible simultaneously - way too much text on screen at once, and every entry carried a before/after "isNew" framing (NEW badge + detail line) that makes no sense for a first-time introduction with no "before" to contrast against. - buildTimeline(): drop isNew/detail from every ledger entry; merge each entry's mechanism + outcome facts into one plain description. Each entry now carries an explicit "at" (seconds into its stage) derived from capture-manifest.json beats, cross-referenced against the raw per-app screen transitions in assets/act*.mp4 (reordered Act II to Farms/FairShare -> Housing -> Mentor -> HealthPost -> LightClock -> TheClimb to match footage order). - promo.html entries markup: drop the NEW badge/detail-line rendering; wrap entries in a fixed-height .ledger-entries stack with each .entry absolutely positioned so only one occupies the panel. GSAP: replace the shared stagger-reveal-and-persist with a per-entry scan-wipe-in at its "at" time and a fade-out right before the next entry's reveal, so at most one entry is ever visible per stage. Re-rendered renders/full-v9.mp4 (91.9s, matches prior runtime).
This commit is contained in:
1 parent
020b71149d
commit
9a5833553b
3 files changed
+90
-58
No files matched your search
@@ -164,10 +164,10 @@ function buildTimeline(clips, assemblyDur) {
|
||||
field: COLORS.fieldAct1, frame: { x: 332, y: 0, scale: 0.9, tilt: -7 }, textSide: "left", card: "act1",
|
||||
clips: [{ key: "intro" }, { key: "act1" }],
|
||||
ledger: [
|
||||
{ sig: "0x4f91ac2e", type: "waterwatch.reading.report", fields: 'sensorId: "kiosk-2", channel: "pH", value: 55', note: "CUSUM/EWMA change-point detection flags drift; an alert needs two sensors to corroborate.", detail: "the two sensors must now be graph-adjacent in the real pipe network, not just different IDs.", isNew: true },
|
||||
{ sig: "0x8a02ee71", type: "fairshare.need", fields: 'resource: "power", value: 10', note: "A real Fisher-market CEEI solver splits power, water, food, and cooling by need.", detail: "power and cooling now get real allocation-history trend events too, not just water/food.", isNew: true },
|
||||
{ sig: "0x1dcb6f40", type: "tunnelsafety.hazard.report", fields: 'segmentId: "seg-market-bypass", status: "flooded"', note: "Real A* routing reroutes around any segment a hazard report closes.", detail: "hazard reports now carry a real best-effort GPS fix via navigator.geolocation, honest fallback if denied.", isNew: true },
|
||||
{ sig: null, type: null, fields: null, note: "A real DH-PSI protocol searches \u2014 the query name never leaves this device.", detail: "residents can register themselves into the directory now, not just the 4 hardcoded demo names.", isNew: true },
|
||||
{ sig: "0x4f91ac2e", type: "waterwatch.reading.report", fields: 'sensorId: "kiosk-2", channel: "pH", value: 55', note: "CUSUM/EWMA change-point detection flags drift; an alert needs two graph-adjacent sensors in the real pipe network to corroborate before it fires.", at: 4.6 },
|
||||
{ sig: "0x8a02ee71", type: "fairshare.need", fields: 'resource: "power", value: 10', note: "A real Fisher-market CEEI solver splits power, water, food, and cooling by need, with a live allocation-history trend for every resource.", at: 10.6 },
|
||||
{ sig: "0x1dcb6f40", type: "tunnelsafety.hazard.report", fields: 'segmentId: "seg-market-bypass", status: "flooded"', note: "Real A* routing reroutes around any segment a hazard report closes, with a best-effort GPS fix via navigator.geolocation (honest fallback if denied).", at: 11.0 },
|
||||
{ sig: null, type: null, fields: null, note: "A real DH-PSI protocol searches the resident directory \u2014 the query name never leaves this device \u2014 and residents can register themselves in, not just four hardcoded demo names.", at: 13.8 },
|
||||
],
|
||||
});
|
||||
|
||||
@@ -177,12 +177,12 @@ function buildTimeline(clips, assemblyDur) {
|
||||
field: COLORS.fieldAct2, frame: { x: -300, y: 0, scale: 0.84, tilt: 9 }, textSide: "right", card: "act2",
|
||||
clips: [{ key: "act2" }],
|
||||
ledger: [
|
||||
{ sig: "0x2c7fa918", type: "fairshare.contribution", fields: 'resource: "food", value: 200.00', note: "A real GDD growing-degree-day model plus an LP optimizer plans what and when to plant.", detail: "the grow-light power budget is now live-read from Fair Share's real allocation, not typed by hand.", isNew: true },
|
||||
{ sig: "0x90b1d234", type: "housing.space.report", fields: 'spaceId: "common-room-3", location: "east wing"', note: "A real MILP solver assigns space; a fairness-debt ledger replays across cycles.", detail: "step-free access and medical proximity are now real, solver-enforced hard constraints.", isNew: true },
|
||||
{ sig: "0x5e4cba09", type: "healthpost.referral", fields: 'urgency: "needs_treatment"', note: "WHO-IMCI protocol triage \u2014 age-banded danger signs, dehydration, pneumonia \u2014", detail: "feeds a real signed referral straight to the clinician queue." },
|
||||
{ sig: null, type: null, fields: null, note: "A real circadian phase-response model (Hannay19) runs on a manual log or motion-sensor actigraphy.", detail: "never a fabricated light sensor \u2014 and never wired to ration anything." },
|
||||
{ sig: "0x773aef1c", type: "theclimb.plan.propose", fields: 'horizonPeriods: 1, surfaceNodeId: "surface"', note: "A time-expanded min-cost-flow scheduler plus a discrete-event congestion sim plans who climbs when.", detail: "contested slots call Fair Draw's real commit-reveal lottery, shaft by shaft." },
|
||||
{ sig: "0xbf02c856", type: "mentor.match", fields: 'apprentice: "you", mentor: "a94f..e2"', note: "Dependents-count skill-criticality ranking surfaces what's at risk of disappearing.", detail: "real ts-fsrs spaced repetition then adapts the review plan to real outcomes." },
|
||||
{ sig: "0x2c7fa918", type: "fairshare.contribution", fields: 'resource: "food", value: 200.00', note: "A real GDD growing-degree-day model plus an LP optimizer plans what and when to plant; the grow-light power budget is read live from Fair Share's real allocation.", at: 2.4 },
|
||||
{ sig: "0x90b1d234", type: "housing.space.report", fields: 'spaceId: "common-room-3", location: "east wing"', note: "A real MILP solver assigns space with step-free access and medical proximity as hard constraints; a fairness-debt ledger replays across cycles.", at: 5.0 },
|
||||
{ sig: "0xbf02c856", type: "mentor.match", fields: 'apprentice: "you", mentor: "a94f..e2"', note: "Dependents-count skill-criticality ranking surfaces what's at risk of disappearing, then real ts-fsrs spaced repetition adapts the review plan to real outcomes.", at: 9.6 },
|
||||
{ sig: "0x5e4cba09", type: "healthpost.referral", fields: 'urgency: "needs_treatment"', note: "WHO-IMCI protocol triage \u2014 age-banded danger signs, dehydration, pneumonia \u2014 feeds a real signed referral straight to the clinician queue.", at: 11.0 },
|
||||
{ sig: null, type: null, fields: null, note: "A real circadian phase-response model (Hannay19) runs on a manual log or motion-sensor actigraphy \u2014 never a fabricated light sensor, and never wired to ration anything.", at: 15.0 },
|
||||
{ sig: "0x773aef1c", type: "theclimb.plan.propose", fields: 'horizonPeriods: 1, surfaceNodeId: "surface"', note: "A time-expanded min-cost-flow scheduler plus a discrete-event congestion sim plans who climbs when; contested slots call Fair Draw's real commit-reveal lottery, shaft by shaft.", at: 17.0 },
|
||||
],
|
||||
});
|
||||
|
||||
@@ -192,9 +192,9 @@ function buildTimeline(clips, assemblyDur) {
|
||||
field: COLORS.fieldAct3, frame: { x: 332, y: 0, scale: 0.9, tilt: -9 }, textSide: "left", card: "act3",
|
||||
clips: [{ key: "act3" }],
|
||||
ledger: [
|
||||
{ sig: "0xd41fa6c2", type: "governance.qvBallot", fields: 'proposalId: "well-pump", choice: "yes", credits: 9', note: "Real Yjs CRDT liquid democracy \u2014 transitive delegation \u2014 survives a real WebRTC partition and heal.", detail: "the QR sneakernet fallback is now wired to a real camera capture/scan UI, closing a long-standing gap.", isNew: true },
|
||||
{ sig: "0x6c0efb3a", type: "fairdraw.commit", fields: 'drawId: "d7", commitHash: "9af2\u2026"', note: "A real SHA-256 commit-before-reveal lottery locks the result in before it's drawn.", detail: "the published commit can never be swapped for a different reveal afterward." },
|
||||
{ sig: "0x2f88c511", type: "sky.morale.pulse", fields: 'mood: "tense"', note: "A real deterministic ambient clock and a real WebRTC presence count \u2014 never fabricated.", detail: "the memory wall and mood pulse now genuinely sync cross-device \u2014 silently local-only before.", isNew: true },
|
||||
{ sig: "0xd41fa6c2", type: "governance.qvBallot", fields: 'proposalId: "well-pump", choice: "yes", credits: 9', note: "Real Yjs CRDT liquid democracy with transitive delegation survives a real WebRTC partition and heal, with a QR sneakernet fallback via real camera capture/scan.", at: 0.3 },
|
||||
{ sig: "0x6c0efb3a", type: "fairdraw.commit", fields: 'drawId: "d7", commitHash: "9af2\u2026"', note: "A real SHA-256 commit-before-reveal lottery locks the result in before it's drawn \u2014 the published commit can never be swapped for a different reveal afterward.", at: 8.0 },
|
||||
{ sig: "0x2f88c511", type: "sky.morale.pulse", fields: 'mood: "tense"', note: "A real deterministic ambient clock and a real WebRTC presence count \u2014 the memory wall and mood pulse genuinely sync cross-device, never fabricated.", at: 13.0 },
|
||||
],
|
||||
});
|
||||
|
||||
@@ -204,8 +204,8 @@ function buildTimeline(clips, assemblyDur) {
|
||||
field: COLORS.fieldEpi, frame: { x: -300, y: 0, scale: 0.84, tilt: 7 }, textSide: "right", card: "epilogue",
|
||||
clips: [{ key: "epilogue" }],
|
||||
ledger: [
|
||||
{ sig: "0x11e3a9f0", type: "wallet.transfer", fields: 'from: "you", to: "hollow-commons-fund", amount: 10', note: "Every balance re-checks its own Ed25519 signature \u2014 nothing on faith." },
|
||||
{ sig: null, type: null, fields: null, note: "A mini-app installs straight to this device's registry \u2014 no gatekeeper, no signed event required." },
|
||||
{ sig: "0x11e3a9f0", type: "wallet.transfer", fields: 'from: "you", to: "hollow-commons-fund", amount: 10', note: "Every balance re-checks its own Ed25519 signature \u2014 nothing on faith.", at: 0.3 },
|
||||
{ sig: null, type: null, fields: null, note: "A mini-app installs straight to this device's registry \u2014 no gatekeeper, no signed event required.", at: 2.2 },
|
||||
],
|
||||
});
|
||||
|
||||
@@ -325,13 +325,10 @@ function main() {
|
||||
const card = TITLE_CARDS[s.card];
|
||||
const entries = s.ledger
|
||||
.map((e, i) => {
|
||||
const detailHtml = e.detail
|
||||
? `<div class="entry-detail">${e.isNew ? '<span class="entry-tag">New</span> ' : ""}${esc(e.detail)}</div>`
|
||||
: "";
|
||||
if (!e.sig) {
|
||||
return ` <div class="entry noevent" id="entry-${s.id}-${i}"><div class="entry-sig">— no event signed —</div><div class="entry-note">${esc(e.note)}</div>${detailHtml}</div>`;
|
||||
return ` <div class="entry noevent" id="entry-${s.id}-${i}" style="opacity:0;"><div class="entry-sig">— no event signed —</div><div class="entry-note">${esc(e.note)}</div></div>`;
|
||||
}
|
||||
return ` <div class="entry" id="entry-${s.id}-${i}"><div class="entry-sig"><span class="entry-hash">${esc(e.sig)}</span><span class="entry-type">${esc(e.type)}</span></div><div class="entry-json">{ ${esc(e.fields)} }</div><div class="entry-note">→ ${esc(e.note)}</div>${detailHtml}</div>`;
|
||||
return ` <div class="entry" id="entry-${s.id}-${i}" style="opacity:0;"><div class="entry-sig"><span class="entry-hash">${esc(e.sig)}</span><span class="entry-type">${esc(e.type)}</span></div><div class="entry-json">{ ${esc(e.fields)} }</div><div class="entry-note">→ ${esc(e.note)}</div></div>`;
|
||||
})
|
||||
.join("\n");
|
||||
return ` <div class="stagetext ${s.textSide}" id="text-${s.id}" style="opacity:0;">
|
||||
@@ -339,7 +336,9 @@ function main() {
|
||||
<div class="st-title">${esc(card.title)}</div>
|
||||
<div class="ledger-panel">
|
||||
<div class="ledger-head"><span class="ledger-dot"></span>SIGNED EVENT LOG · LIVE</div>
|
||||
<div class="ledger-entries">
|
||||
${entries}
|
||||
</div>
|
||||
<div class="ledger-cursor">><span class="blink">_</span></div>
|
||||
</div>
|
||||
</div>`;
|
||||
@@ -419,7 +418,10 @@ ${tileEls}
|
||||
|
||||
// ---- serialized configs for the GSAP builder ----
|
||||
const stageCfg = JSON.stringify(
|
||||
stages.map((s) => ({ id: s.id, start: s.start, end: s.end, frame: s.frame, textSide: s.textSide })),
|
||||
stages.map((s) => ({
|
||||
id: s.id, start: s.start, end: s.end, frame: s.frame, textSide: s.textSide,
|
||||
entryAts: s.ledger.map((e) => e.at),
|
||||
})),
|
||||
);
|
||||
const chapterCfg = JSON.stringify(chapters.map((s) => ({ id: s.id, start: s.start, end: s.end })));
|
||||
const clipCfg = JSON.stringify(clipWins.map((w) => ({ key: w.key, start: w.start, duration: w.duration })));
|
||||
@@ -462,15 +464,17 @@ ${tileEls}
|
||||
.ledger-head { color:rgba(140,255,205,0.85); font-size:13px; font-weight:700; letter-spacing:0.22em;
|
||||
text-transform:uppercase; display:flex; align-items:center; gap:8px; margin-bottom:2px; }
|
||||
.ledger-dot { width:7px; height:7px; border-radius:50%; background:#5cffb0; box-shadow:0 0 8px 2px rgba(92,255,176,0.7); }
|
||||
.entry { padding:7px 0 8px; border-top:1px solid rgba(140,255,205,0.14); overflow:hidden; }
|
||||
.entry:first-of-type { border-top:none; padding-top:2px; }
|
||||
/* .ledger-entries is a fixed-height stack: every entry sits absolutely at
|
||||
the same spot so only ONE mini-app's entry is ever on screen at once -
|
||||
entry N fades/wipes in exactly when that app is active in the footage,
|
||||
and fades out right as entry N+1 takes over (see the GSAP loop below). */
|
||||
.ledger-entries { position:relative; min-height:124px; }
|
||||
.entry { position:absolute; left:0; right:0; top:0; }
|
||||
.entry-sig { display:flex; gap:10px; align-items:baseline; font-size:14px; }
|
||||
.entry-hash { color:#5cffb0; font-weight:700; }
|
||||
.entry-type { color:#ffd27a; font-weight:700; }
|
||||
.entry-json { color:rgba(210,226,255,0.68); font-size:13px; margin-top:2px; }
|
||||
.entry-note { color:#f2f7ff; font-size:16px; font-weight:700; letter-spacing:-0.005em; margin-top:5px; line-height:1.28; font-family:-apple-system,'Helvetica Neue',Arial,sans-serif; }
|
||||
.entry-detail { color:rgba(158,205,255,0.86); font-size:13.5px; font-weight:600; letter-spacing:-0.005em; margin-top:4px; line-height:1.3; font-family:-apple-system,'Helvetica Neue',Arial,sans-serif; }
|
||||
.entry-tag { display:inline-block; background:rgba(92,255,176,0.18); color:#5cffb0; font-size:10.5px; font-weight:800; letter-spacing:0.08em; text-transform:uppercase; padding:1px 6px; border-radius:4px; margin-right:5px; vertical-align:1px; font-family:'SF Mono','Menlo','Consolas',monospace; }
|
||||
.entry.noevent .entry-sig { color:rgba(170,190,230,0.55); font-style:italic; font-size:14px; }
|
||||
.ledger-cursor { color:#5cffb0; font-size:18px; font-weight:700; margin-top:2px; }
|
||||
|
||||
@@ -606,12 +610,21 @@ ${audioEl}
|
||||
const dy = s.textSide === 'top' ? -18 : 0;
|
||||
tl.fromTo('#text-' + s.id, { opacity: 0, x: dx, y: dy }, { opacity: 1, x: 0, y: 0, duration: 0.6, ease: 'power2.out' }, s.start + 0.1);
|
||||
tl.to('#text-' + s.id, { opacity: 0, duration: 0.45, ease: 'power2.in' }, s.end - F);
|
||||
// Each ledger entry reveals with a left-to-right scan wipe - a different
|
||||
// motion signature than the chapter cards' rise-and-fade.
|
||||
// Stagger lengthened from 0.5s to 0.6s (redesign-4) to give the now-two-line
|
||||
// mechanism+outcome entries a comfortable per-entry reveal pace.
|
||||
tl.fromTo('#text-' + s.id + ' .entry', { clipPath: 'inset(0 100% 0 0)', opacity: 0.001 },
|
||||
{ clipPath: 'inset(0 0% 0 0)', opacity: 1, duration: 0.5, stagger: 0.6, ease: 'power2.out' }, s.start + 0.5);
|
||||
// Each ledger entry owns its own on-screen window, synced to when that
|
||||
// specific mini-app is actually active in the footage (capture-manifest.json
|
||||
// beats): a left-to-right scan-wipe reveal in, then a plain fade-out right
|
||||
// before the NEXT entry's reveal begins - so at most one entry is ever on
|
||||
// screen, never a stack of every app's entry piled up at once.
|
||||
for (let i = 0; i < s.entryAts.length; i++) {
|
||||
const entrySel = '#entry-' + s.id + '-' + i;
|
||||
const entryStart = s.start + s.entryAts[i];
|
||||
tl.fromTo(entrySel, { clipPath: 'inset(0 100% 0 0)', opacity: 0.001 },
|
||||
{ clipPath: 'inset(0 0% 0 0)', opacity: 1, duration: 0.4, ease: 'power2.out' }, entryStart);
|
||||
if (i < s.entryAts.length - 1) {
|
||||
const nextStart = s.start + s.entryAts[i + 1];
|
||||
tl.to(entrySel, { opacity: 0, duration: 0.3, ease: 'power2.in' }, nextStart - 0.3);
|
||||
}
|
||||
}
|
||||
// Live blinking cursor, driven by the same paused timeline (never a
|
||||
// wall-clock CSS @keyframes) so frame-by-frame rendering stays exact.
|
||||
const blinkCycles = Math.max(1, Math.floor((s.end - s.start) * 2));
|
||||
|
||||
@@ -36,15 +36,17 @@
|
||||
.ledger-head { color:rgba(140,255,205,0.85); font-size:13px; font-weight:700; letter-spacing:0.22em;
|
||||
text-transform:uppercase; display:flex; align-items:center; gap:8px; margin-bottom:2px; }
|
||||
.ledger-dot { width:7px; height:7px; border-radius:50%; background:#5cffb0; box-shadow:0 0 8px 2px rgba(92,255,176,0.7); }
|
||||
.entry { padding:7px 0 8px; border-top:1px solid rgba(140,255,205,0.14); overflow:hidden; }
|
||||
.entry:first-of-type { border-top:none; padding-top:2px; }
|
||||
/* .ledger-entries is a fixed-height stack: every entry sits absolutely at
|
||||
the same spot so only ONE mini-app's entry is ever on screen at once -
|
||||
entry N fades/wipes in exactly when that app is active in the footage,
|
||||
and fades out right as entry N+1 takes over (see the GSAP loop below). */
|
||||
.ledger-entries { position:relative; min-height:124px; }
|
||||
.entry { position:absolute; left:0; right:0; top:0; }
|
||||
.entry-sig { display:flex; gap:10px; align-items:baseline; font-size:14px; }
|
||||
.entry-hash { color:#5cffb0; font-weight:700; }
|
||||
.entry-type { color:#ffd27a; font-weight:700; }
|
||||
.entry-json { color:rgba(210,226,255,0.68); font-size:13px; margin-top:2px; }
|
||||
.entry-note { color:#f2f7ff; font-size:16px; font-weight:700; letter-spacing:-0.005em; margin-top:5px; line-height:1.28; font-family:-apple-system,'Helvetica Neue',Arial,sans-serif; }
|
||||
.entry-detail { color:rgba(158,205,255,0.86); font-size:13.5px; font-weight:600; letter-spacing:-0.005em; margin-top:4px; line-height:1.3; font-family:-apple-system,'Helvetica Neue',Arial,sans-serif; }
|
||||
.entry-tag { display:inline-block; background:rgba(92,255,176,0.18); color:#5cffb0; font-size:10.5px; font-weight:800; letter-spacing:0.08em; text-transform:uppercase; padding:1px 6px; border-radius:4px; margin-right:5px; vertical-align:1px; font-family:'SF Mono','Menlo','Consolas',monospace; }
|
||||
.entry.noevent .entry-sig { color:rgba(170,190,230,0.55); font-style:italic; font-size:14px; }
|
||||
.ledger-cursor { color:#5cffb0; font-size:18px; font-weight:700; margin-top:2px; }
|
||||
|
||||
@@ -128,10 +130,12 @@
|
||||
<div class="st-title">A Crisis, Verified Twice</div>
|
||||
<div class="ledger-panel">
|
||||
<div class="ledger-head"><span class="ledger-dot"></span>SIGNED EVENT LOG · LIVE</div>
|
||||
<div class="entry" id="entry-act1-0"><div class="entry-sig"><span class="entry-hash">0x4f91ac2e</span><span class="entry-type">waterwatch.reading.report</span></div><div class="entry-json">{ sensorId: "kiosk-2", channel: "pH", value: 55 }</div><div class="entry-note">→ CUSUM/EWMA change-point detection flags drift; an alert needs two sensors to corroborate.</div><div class="entry-detail"><span class="entry-tag">New</span> the two sensors must now be graph-adjacent in the real pipe network, not just different IDs.</div></div>
|
||||
<div class="entry" id="entry-act1-1"><div class="entry-sig"><span class="entry-hash">0x8a02ee71</span><span class="entry-type">fairshare.need</span></div><div class="entry-json">{ resource: "power", value: 10 }</div><div class="entry-note">→ A real Fisher-market CEEI solver splits power, water, food, and cooling by need.</div><div class="entry-detail"><span class="entry-tag">New</span> power and cooling now get real allocation-history trend events too, not just water/food.</div></div>
|
||||
<div class="entry" id="entry-act1-2"><div class="entry-sig"><span class="entry-hash">0x1dcb6f40</span><span class="entry-type">tunnelsafety.hazard.report</span></div><div class="entry-json">{ segmentId: "seg-market-bypass", status: "flooded" }</div><div class="entry-note">→ Real A* routing reroutes around any segment a hazard report closes.</div><div class="entry-detail"><span class="entry-tag">New</span> hazard reports now carry a real best-effort GPS fix via navigator.geolocation, honest fallback if denied.</div></div>
|
||||
<div class="entry noevent" id="entry-act1-3"><div class="entry-sig">— no event signed —</div><div class="entry-note">A real DH-PSI protocol searches — the query name never leaves this device.</div><div class="entry-detail"><span class="entry-tag">New</span> residents can register themselves into the directory now, not just the 4 hardcoded demo names.</div></div>
|
||||
<div class="ledger-entries">
|
||||
<div class="entry" id="entry-act1-0" style="opacity:0;"><div class="entry-sig"><span class="entry-hash">0x4f91ac2e</span><span class="entry-type">waterwatch.reading.report</span></div><div class="entry-json">{ sensorId: "kiosk-2", channel: "pH", value: 55 }</div><div class="entry-note">→ CUSUM/EWMA change-point detection flags drift; an alert needs two graph-adjacent sensors in the real pipe network to corroborate before it fires.</div></div>
|
||||
<div class="entry" id="entry-act1-1" style="opacity:0;"><div class="entry-sig"><span class="entry-hash">0x8a02ee71</span><span class="entry-type">fairshare.need</span></div><div class="entry-json">{ resource: "power", value: 10 }</div><div class="entry-note">→ A real Fisher-market CEEI solver splits power, water, food, and cooling by need, with a live allocation-history trend for every resource.</div></div>
|
||||
<div class="entry" id="entry-act1-2" style="opacity:0;"><div class="entry-sig"><span class="entry-hash">0x1dcb6f40</span><span class="entry-type">tunnelsafety.hazard.report</span></div><div class="entry-json">{ segmentId: "seg-market-bypass", status: "flooded" }</div><div class="entry-note">→ Real A* routing reroutes around any segment a hazard report closes, with a best-effort GPS fix via navigator.geolocation (honest fallback if denied).</div></div>
|
||||
<div class="entry noevent" id="entry-act1-3" style="opacity:0;"><div class="entry-sig">— no event signed —</div><div class="entry-note">A real DH-PSI protocol searches the resident directory — the query name never leaves this device — and residents can register themselves in, not just four hardcoded demo names.</div></div>
|
||||
</div>
|
||||
<div class="ledger-cursor">><span class="blink">_</span></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -140,12 +144,14 @@
|
||||
<div class="st-title">Keeping the Hollow Alive</div>
|
||||
<div class="ledger-panel">
|
||||
<div class="ledger-head"><span class="ledger-dot"></span>SIGNED EVENT LOG · LIVE</div>
|
||||
<div class="entry" id="entry-act2-0"><div class="entry-sig"><span class="entry-hash">0x2c7fa918</span><span class="entry-type">fairshare.contribution</span></div><div class="entry-json">{ resource: "food", value: 200.00 }</div><div class="entry-note">→ A real GDD growing-degree-day model plus an LP optimizer plans what and when to plant.</div><div class="entry-detail"><span class="entry-tag">New</span> the grow-light power budget is now live-read from Fair Share's real allocation, not typed by hand.</div></div>
|
||||
<div class="entry" id="entry-act2-1"><div class="entry-sig"><span class="entry-hash">0x90b1d234</span><span class="entry-type">housing.space.report</span></div><div class="entry-json">{ spaceId: "common-room-3", location: "east wing" }</div><div class="entry-note">→ A real MILP solver assigns space; a fairness-debt ledger replays across cycles.</div><div class="entry-detail"><span class="entry-tag">New</span> step-free access and medical proximity are now real, solver-enforced hard constraints.</div></div>
|
||||
<div class="entry" id="entry-act2-2"><div class="entry-sig"><span class="entry-hash">0x5e4cba09</span><span class="entry-type">healthpost.referral</span></div><div class="entry-json">{ urgency: "needs_treatment" }</div><div class="entry-note">→ WHO-IMCI protocol triage — age-banded danger signs, dehydration, pneumonia —</div><div class="entry-detail">feeds a real signed referral straight to the clinician queue.</div></div>
|
||||
<div class="entry noevent" id="entry-act2-3"><div class="entry-sig">— no event signed —</div><div class="entry-note">A real circadian phase-response model (Hannay19) runs on a manual log or motion-sensor actigraphy.</div><div class="entry-detail">never a fabricated light sensor — and never wired to ration anything.</div></div>
|
||||
<div class="entry" id="entry-act2-4"><div class="entry-sig"><span class="entry-hash">0x773aef1c</span><span class="entry-type">theclimb.plan.propose</span></div><div class="entry-json">{ horizonPeriods: 1, surfaceNodeId: "surface" }</div><div class="entry-note">→ A time-expanded min-cost-flow scheduler plus a discrete-event congestion sim plans who climbs when.</div><div class="entry-detail">contested slots call Fair Draw's real commit-reveal lottery, shaft by shaft.</div></div>
|
||||
<div class="entry" id="entry-act2-5"><div class="entry-sig"><span class="entry-hash">0xbf02c856</span><span class="entry-type">mentor.match</span></div><div class="entry-json">{ apprentice: "you", mentor: "a94f..e2" }</div><div class="entry-note">→ Dependents-count skill-criticality ranking surfaces what's at risk of disappearing.</div><div class="entry-detail">real ts-fsrs spaced repetition then adapts the review plan to real outcomes.</div></div>
|
||||
<div class="ledger-entries">
|
||||
<div class="entry" id="entry-act2-0" style="opacity:0;"><div class="entry-sig"><span class="entry-hash">0x2c7fa918</span><span class="entry-type">fairshare.contribution</span></div><div class="entry-json">{ resource: "food", value: 200.00 }</div><div class="entry-note">→ A real GDD growing-degree-day model plus an LP optimizer plans what and when to plant; the grow-light power budget is read live from Fair Share's real allocation.</div></div>
|
||||
<div class="entry" id="entry-act2-1" style="opacity:0;"><div class="entry-sig"><span class="entry-hash">0x90b1d234</span><span class="entry-type">housing.space.report</span></div><div class="entry-json">{ spaceId: "common-room-3", location: "east wing" }</div><div class="entry-note">→ A real MILP solver assigns space with step-free access and medical proximity as hard constraints; a fairness-debt ledger replays across cycles.</div></div>
|
||||
<div class="entry" id="entry-act2-2" style="opacity:0;"><div class="entry-sig"><span class="entry-hash">0xbf02c856</span><span class="entry-type">mentor.match</span></div><div class="entry-json">{ apprentice: "you", mentor: "a94f..e2" }</div><div class="entry-note">→ Dependents-count skill-criticality ranking surfaces what's at risk of disappearing, then real ts-fsrs spaced repetition adapts the review plan to real outcomes.</div></div>
|
||||
<div class="entry" id="entry-act2-3" style="opacity:0;"><div class="entry-sig"><span class="entry-hash">0x5e4cba09</span><span class="entry-type">healthpost.referral</span></div><div class="entry-json">{ urgency: "needs_treatment" }</div><div class="entry-note">→ WHO-IMCI protocol triage — age-banded danger signs, dehydration, pneumonia — feeds a real signed referral straight to the clinician queue.</div></div>
|
||||
<div class="entry noevent" id="entry-act2-4" style="opacity:0;"><div class="entry-sig">— no event signed —</div><div class="entry-note">A real circadian phase-response model (Hannay19) runs on a manual log or motion-sensor actigraphy — never a fabricated light sensor, and never wired to ration anything.</div></div>
|
||||
<div class="entry" id="entry-act2-5" style="opacity:0;"><div class="entry-sig"><span class="entry-hash">0x773aef1c</span><span class="entry-type">theclimb.plan.propose</span></div><div class="entry-json">{ horizonPeriods: 1, surfaceNodeId: "surface" }</div><div class="entry-note">→ A time-expanded min-cost-flow scheduler plus a discrete-event congestion sim plans who climbs when; contested slots call Fair Draw's real commit-reveal lottery, shaft by shaft.</div></div>
|
||||
</div>
|
||||
<div class="ledger-cursor">><span class="blink">_</span></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -154,9 +160,11 @@
|
||||
<div class="st-title">Who Decides</div>
|
||||
<div class="ledger-panel">
|
||||
<div class="ledger-head"><span class="ledger-dot"></span>SIGNED EVENT LOG · LIVE</div>
|
||||
<div class="entry" id="entry-act3-0"><div class="entry-sig"><span class="entry-hash">0xd41fa6c2</span><span class="entry-type">governance.qvBallot</span></div><div class="entry-json">{ proposalId: "well-pump", choice: "yes", credits: 9 }</div><div class="entry-note">→ Real Yjs CRDT liquid democracy — transitive delegation — survives a real WebRTC partition and heal.</div><div class="entry-detail"><span class="entry-tag">New</span> the QR sneakernet fallback is now wired to a real camera capture/scan UI, closing a long-standing gap.</div></div>
|
||||
<div class="entry" id="entry-act3-1"><div class="entry-sig"><span class="entry-hash">0x6c0efb3a</span><span class="entry-type">fairdraw.commit</span></div><div class="entry-json">{ drawId: "d7", commitHash: "9af2…" }</div><div class="entry-note">→ A real SHA-256 commit-before-reveal lottery locks the result in before it's drawn.</div><div class="entry-detail">the published commit can never be swapped for a different reveal afterward.</div></div>
|
||||
<div class="entry" id="entry-act3-2"><div class="entry-sig"><span class="entry-hash">0x2f88c511</span><span class="entry-type">sky.morale.pulse</span></div><div class="entry-json">{ mood: "tense" }</div><div class="entry-note">→ A real deterministic ambient clock and a real WebRTC presence count — never fabricated.</div><div class="entry-detail"><span class="entry-tag">New</span> the memory wall and mood pulse now genuinely sync cross-device — silently local-only before.</div></div>
|
||||
<div class="ledger-entries">
|
||||
<div class="entry" id="entry-act3-0" style="opacity:0;"><div class="entry-sig"><span class="entry-hash">0xd41fa6c2</span><span class="entry-type">governance.qvBallot</span></div><div class="entry-json">{ proposalId: "well-pump", choice: "yes", credits: 9 }</div><div class="entry-note">→ Real Yjs CRDT liquid democracy with transitive delegation survives a real WebRTC partition and heal, with a QR sneakernet fallback via real camera capture/scan.</div></div>
|
||||
<div class="entry" id="entry-act3-1" style="opacity:0;"><div class="entry-sig"><span class="entry-hash">0x6c0efb3a</span><span class="entry-type">fairdraw.commit</span></div><div class="entry-json">{ drawId: "d7", commitHash: "9af2…" }</div><div class="entry-note">→ A real SHA-256 commit-before-reveal lottery locks the result in before it's drawn — the published commit can never be swapped for a different reveal afterward.</div></div>
|
||||
<div class="entry" id="entry-act3-2" style="opacity:0;"><div class="entry-sig"><span class="entry-hash">0x2f88c511</span><span class="entry-type">sky.morale.pulse</span></div><div class="entry-json">{ mood: "tense" }</div><div class="entry-note">→ A real deterministic ambient clock and a real WebRTC presence count — the memory wall and mood pulse genuinely sync cross-device, never fabricated.</div></div>
|
||||
</div>
|
||||
<div class="ledger-cursor">><span class="blink">_</span></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -165,8 +173,10 @@
|
||||
<div class="st-title">Trust, Made Verifiable</div>
|
||||
<div class="ledger-panel">
|
||||
<div class="ledger-head"><span class="ledger-dot"></span>SIGNED EVENT LOG · LIVE</div>
|
||||
<div class="entry" id="entry-epilogue-0"><div class="entry-sig"><span class="entry-hash">0x11e3a9f0</span><span class="entry-type">wallet.transfer</span></div><div class="entry-json">{ from: "you", to: "hollow-commons-fund", amount: 10 }</div><div class="entry-note">→ Every balance re-checks its own Ed25519 signature — nothing on faith.</div></div>
|
||||
<div class="entry noevent" id="entry-epilogue-1"><div class="entry-sig">— no event signed —</div><div class="entry-note">A mini-app installs straight to this device's registry — no gatekeeper, no signed event required.</div></div>
|
||||
<div class="ledger-entries">
|
||||
<div class="entry" id="entry-epilogue-0" style="opacity:0;"><div class="entry-sig"><span class="entry-hash">0x11e3a9f0</span><span class="entry-type">wallet.transfer</span></div><div class="entry-json">{ from: "you", to: "hollow-commons-fund", amount: 10 }</div><div class="entry-note">→ Every balance re-checks its own Ed25519 signature — nothing on faith.</div></div>
|
||||
<div class="entry noevent" id="entry-epilogue-1" style="opacity:0;"><div class="entry-sig">— no event signed —</div><div class="entry-note">A mini-app installs straight to this device's registry — no gatekeeper, no signed event required.</div></div>
|
||||
</div>
|
||||
<div class="ledger-cursor">><span class="blink">_</span></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -243,7 +253,7 @@
|
||||
<div class="lockup" id="lockup" style="opacity:0;">
|
||||
<div class="lock-eyebrow">Built in 36 hours</div>
|
||||
<div class="lock-title">The Commons</div>
|
||||
<div class="lock-sub">Thirteen mini-apps, one signed wallet. One answer, more than one problem - every answer helps someone in the Hollow.</div>
|
||||
<div class="lock-sub">One signed wallet, one shared record - every civic problem in the Hollow gets a real answer.</div>
|
||||
</div>
|
||||
</div>
|
||||
<audio id="ambient" src="assets/ambient.mp3" data-start="0" data-media-start="0" data-duration="91.86" data-volume="0.3"></audio>
|
||||
@@ -282,7 +292,7 @@
|
||||
tl.fromTo('#data .hook-cap', { scale: 0.5, opacity: 0 }, { scale: 1, opacity: 1, duration: 0.5, ease: 'back.out(2)' }, D.start + 4.8);
|
||||
|
||||
// ---------- FIELD PANELS (color journey) ----------
|
||||
const STAGES = [{"id":"act1","start":9.1,"end":24.06,"frame":{"x":332,"y":0,"scale":0.9,"tilt":-7},"textSide":"left"},{"id":"act2","start":26.16,"end":47.46,"frame":{"x":-300,"y":0,"scale":0.84,"tilt":9},"textSide":"right"},{"id":"act3","start":49.56,"end":69.49,"frame":{"x":332,"y":0,"scale":0.9,"tilt":-9},"textSide":"left"},{"id":"epilogue","start":71.59,"end":78.39,"frame":{"x":-300,"y":0,"scale":0.84,"tilt":7},"textSide":"right"}];
|
||||
const STAGES = [{"id":"act1","start":9.1,"end":24.06,"frame":{"x":332,"y":0,"scale":0.9,"tilt":-7},"textSide":"left","entryAts":[4.6,10.6,11,13.8]},{"id":"act2","start":26.16,"end":47.46,"frame":{"x":-300,"y":0,"scale":0.84,"tilt":9},"textSide":"right","entryAts":[2.4,5,9.6,11,15,17]},{"id":"act3","start":49.56,"end":69.49,"frame":{"x":332,"y":0,"scale":0.9,"tilt":-9},"textSide":"left","entryAts":[0.3,8,13]},{"id":"epilogue","start":71.59,"end":78.39,"frame":{"x":-300,"y":0,"scale":0.84,"tilt":7},"textSide":"right","entryAts":[0.3,2.2]}];
|
||||
for (const s of STAGES) {
|
||||
tl.fromTo('#field-' + s.id, { opacity: 0 }, { opacity: 1, duration: F, ease: 'power1.out' }, s.start - F);
|
||||
tl.to('#field-' + s.id, { opacity: 0, duration: F, ease: 'power1.in' }, s.end - F);
|
||||
@@ -304,12 +314,21 @@
|
||||
const dy = s.textSide === 'top' ? -18 : 0;
|
||||
tl.fromTo('#text-' + s.id, { opacity: 0, x: dx, y: dy }, { opacity: 1, x: 0, y: 0, duration: 0.6, ease: 'power2.out' }, s.start + 0.1);
|
||||
tl.to('#text-' + s.id, { opacity: 0, duration: 0.45, ease: 'power2.in' }, s.end - F);
|
||||
// Each ledger entry reveals with a left-to-right scan wipe - a different
|
||||
// motion signature than the chapter cards' rise-and-fade.
|
||||
// Stagger lengthened from 0.5s to 0.6s (redesign-4) to give the now-two-line
|
||||
// mechanism+outcome entries a comfortable per-entry reveal pace.
|
||||
tl.fromTo('#text-' + s.id + ' .entry', { clipPath: 'inset(0 100% 0 0)', opacity: 0.001 },
|
||||
{ clipPath: 'inset(0 0% 0 0)', opacity: 1, duration: 0.5, stagger: 0.6, ease: 'power2.out' }, s.start + 0.5);
|
||||
// Each ledger entry owns its own on-screen window, synced to when that
|
||||
// specific mini-app is actually active in the footage (capture-manifest.json
|
||||
// beats): a left-to-right scan-wipe reveal in, then a plain fade-out right
|
||||
// before the NEXT entry's reveal begins - so at most one entry is ever on
|
||||
// screen, never a stack of every app's entry piled up at once.
|
||||
for (let i = 0; i < s.entryAts.length; i++) {
|
||||
const entrySel = '#entry-' + s.id + '-' + i;
|
||||
const entryStart = s.start + s.entryAts[i];
|
||||
tl.fromTo(entrySel, { clipPath: 'inset(0 100% 0 0)', opacity: 0.001 },
|
||||
{ clipPath: 'inset(0 0% 0 0)', opacity: 1, duration: 0.4, ease: 'power2.out' }, entryStart);
|
||||
if (i < s.entryAts.length - 1) {
|
||||
const nextStart = s.start + s.entryAts[i + 1];
|
||||
tl.to(entrySel, { opacity: 0, duration: 0.3, ease: 'power2.in' }, nextStart - 0.3);
|
||||
}
|
||||
}
|
||||
// Live blinking cursor, driven by the same paused timeline (never a
|
||||
// wall-clock CSS @keyframes) so frame-by-frame rendering stays exact.
|
||||
const blinkCycles = Math.max(1, Math.floor((s.end - s.start) * 2));
|
||||
|
||||
Binary file not shown.
Reference in new issue
Block a user