Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ standalone player, or MAKE BOTH). The cartridge's music is laid in exactly in sy
- **Everything else** (living posters, the screensaver) is stepped one frame at a time, so
nothing drops, at any length. Their music is recorded from a second, real-time play of the page, so it isn't locked to
the picture (fine for most things; it means a 10-minute clip takes about 10 minutes for the music plus the frames).
- **URL options** pick what plays: `vseed=7` for a living poster, `noboot` to skip the screensaver's boot screen.
- **URL options** pick what plays: `vseed=7` for a living poster, `noboot` to skip the screensaver's boot screen. For the screensaver: `ch=airship` locks to one era (`ascii`, `dos`, `stars`, `desk` or `airship` = Their Finest Duds, `maze`), `start=airship` starts there and then rotates, and `airship` (= `start=desk` + `go`) starts on the airship and begins the music at once when the browser allows it (same-site link click, or an iframe with `allow="autoplay"`); otherwise the boot screen shows and its click starts the sound. `go` alone does the same from the first era.
- Size presets: 1080p landscape, 1080×1920 portrait, 4K, 720p.

It needs **ffmpeg** (macOS: `brew install ffmpeg`; the tool finds it, or press BROWSE) and **Playwright** with Chromium:
Expand Down
4 changes: 2 additions & 2 deletions STATUS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
> **Visitors:** this is the project's working log, kept for the people and AI assistants working on it. For what
> EOMD is and how to use it, start with [README.md](README.md).

_Last updated: Nov 4, 2026 (fresh-eyes review added to the design stages; Academies film: clock + timer version). Each piece's history, limits and open questions live in its
_Last updated: Nov 21, 2026 (CD-ROM link options `?start=`, `?go`, `?airship`; before that Nov 4: fresh-eyes review added to the design stages; Academies film: clock + timer version). Each piece's history, limits and open questions live in its
folder's `STATUS.md`; repo-wide history in `notes/history.md`._

## Pieces
| Piece | State | Next | Status file |
|---|---|---|---|
| CS Lab Screensaver ("CD-ROM") | Stage 4 on Bryan's Mac; extras through 9h built | Check the 9h builds; stage 5 extras | `proj/cdrom/STATUS.md` |
| CS Lab Screensaver ("CD-ROM") | Stage 4 on Bryan's Mac; extras through 9h built; Nov 21 link options (`?airship`) | Check the 9h builds; stage 5 extras; add the easter-egg link on the homepage | `proj/cdrom/STATUS.md` |
| Academies hallway film | Done; Bryan rendered the MP4 (Oct 20). Clock + timer versions published Nov 4: the film (`players/danbury-academies-clock.html`) and the Sanctioned Corporate Calm study loop (`players/sanctioned-corporate-calm.html`) | Watch the clock + timer version on a classroom screen; hero size and chip icons | `academies-film/STATUS.md` |
| Living posters (SSR, CS, Exploration) | Done | Parked items (5-min timer, random vine entry); rebuild CS + SSR | `living/STATUS.md` |
| CSE hallway loop (new, full creative) | Done; published Oct 25 (`players/cse-loop.html`) | ES/PT check; real-TV check | `proj/cse-loop/STATUS.md` |
Expand Down
38 changes: 24 additions & 14 deletions players/cdrom-ambient.html

Large diffs are not rendered by default.

30 changes: 20 additions & 10 deletions players/cdrom-player.html

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions proj/cdrom/STATUS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
_Moved from the root `STATUS.md` on Oct 25, 2026 (context plan step 2); the root file is now a short index. Update this file when working on the CD-ROM screensaver._

## Status
- **Nov 21, link options (built, tested in headless Chromium, `players/` refreshed):** `?start=KEY` starts on an era and then rotates (`?ch=KEY` still locks);
`?go` skips the boot card and starts the sound at once when the browser lets the page (`canSound()` probes with a throwaway
AudioContext, 250 ms; if blocked, the boot card shows and its click starts the sound as before); `?airship` = `?start=desk&go`
(made for an easter-egg link on Bryan's homepage). Tested: same-origin link click starts the sound; a cross-site link click
does not (boot card shows); a cross-site iframe with `allow="autoplay"` opened by a click on the host page does; `start=desk`
rotates (desk → maze → ascii with `surf=6`); `ch=desk` stays; a bad `start` falls back to ascii. Not tested: Safari, Firefox (stricter; the fallback covers them).
The key `desk` is the old "Contour Desk" name (sketch A); `airship` is accepted as an alias in `?ch=` and `?start=`. Edits: `FIRST`/`GO`/`canSound` in `player-src.html`, `music.js` prefetch uses `FIRST`.
- **CS Lab Screensaver ("CD-ROM"): Stage 4 runs on Bryan's Mac; extras through 9f built.** Brief: `proj/cdrom/brief.md` v3.1
(covers the music modes, Overclock, the timer readout, the word structures; does NOT yet describe the 9c passes or the 9e long form).
- **Seen/heard and approved:** Overclock as the default mode (Oct 9: "soooo much better than chips"), clear sampler on Their Finest
Expand Down
2 changes: 1 addition & 1 deletion proj/cdrom/brief.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ CS living poster: reuse its timer/TICKET OUT, controls, music streaming, wake lo
your seatbelt for... THE DUD DIMENSION! · Warning: may contain... MAXIMUM MULTIMEDIA! · Strap in! Next stop... THE INFORMATION
SUPERHIGHWAY!
- Click / any key = begin with sound (+ a short C-major "ta-daa" chime, `BOOT_CHIME`); M = silent; F = fullscreen. The card dithers
into Tomb of the Duds!. Unattended, it begins silently after 90 s (`?bootwait=N`). `?noboot` / `?manual` skip it. A "LOADING...
into Tomb of the Duds!. Unattended, it begins silently after 90 s (`?bootwait=N`). `?noboot` / `?manual` skip it. **Link options (Nov 21):** `?ch=KEY` locks to one era; `?start=KEY` starts there, then rotates; `?go` skips the boot card and starts the sound at once *if the browser allows it* (a throwaway AudioContext is probed first; if it can't run, the boot card shows as normal); `?airship` = `?start=desk&go`. Keys: `ascii dos stars desk maze`. A "LOADING...
PLEASE WAIT" line shows while the channels are built. Reduced motion: no zoom, hop or glint.

## Cards
Expand Down
2 changes: 1 addition & 1 deletion proj/cdrom/music.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,4 +268,4 @@ function setGain(){MUS.gain()}
async function soundButton(){if(!snd.started){MUS.start((NXT||CUR).key);return}if(!MUS.playing())return;snd.muted=!snd.muted;sb.textContent=snd.muted?'Unmute':'Mute';setGain()}
sb.onclick=soundButton;vs.oninput=()=>{snd.vol=vs.value/100;setGain()};mb.onclick=()=>MUS.toggle();
addEventListener('keydown',e=>{if(e.key==='l'||e.key==='L')MUS.toggle()});
setTimeout(()=>MUS.prefetch((typeof CUR!=='undefined'&&CUR&&CUR.key)||LOCK||ORDER[0]),1500);
setTimeout(()=>MUS.prefetch((typeof CUR!=='undefined'&&CUR&&CUR.key)||FIRST),1500);
18 changes: 14 additions & 4 deletions proj/cdrom/player-src.html
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@
/* ================= boot screen (Oct 8): a cheesy CD-ROM title card; the click that leaves it starts the sound ================= */
// A marble plaque with a gold "Dud Lab" logo and a goggled mascot, then a typed setup line and a punch line that zooms in.
// Click or any key = begin with sound; M = begin without sound; F = fullscreen. One tagline per open, in rotation
// (?line=N picks one). Unattended, it begins silently after BOOT_AUTO s (?bootwait=N). ?noboot (and ?manual) skip it.
// (?line=N picks one). Unattended, it begins silently after BOOT_AUTO s (?bootwait=N). ?noboot (and ?manual) skip it. ?go skips it when the browser allows sound.
const BOOT_LINES=[['NOW EMBARKING UPON...','A CYBER ADVENTURE!'],['Preparing to Float Upon....','THE TEMPORAL SUPERHIGHWAY!'],
['The future is now...','AND ALSO 1980!'],['Please insert disc 1 of...','INFINITY!'],['You are about to experience...','TOTAL EDUTAINMENT!'],
['Fasten your seatbelt for...','THE DUD DIMENSION!'],['Warning: may contain...','MAXIMUM MULTIMEDIA!'],['Strap in! Next stop...','THE INFORMATION SUPERHIGHWAY!']];
Expand Down Expand Up @@ -765,7 +765,12 @@

/*__ADDONS__*/
/* ================= channel surf: ~4-5 min each, ordered-dither dissolve; cards + Duds persist ================= */
const ORDER=['ascii','dos','stars','desk','maze'],LOCK=ORDER.includes(Q.get('ch'))?Q.get('ch'):null,SURF=+Q.get('surf')||0,DIS=2;
const ORDER=['ascii','dos','stars','desk','maze'],eraKey=k=>k==='airship'?'desk':k, // the key `desk` is the old "Contour Desk" name; `airship` is accepted in ?ch= and ?start=
LOCK=ORDER.includes(eraKey(Q.get('ch')))?eraKey(Q.get('ch')):null,SURF=+Q.get('surf')||0,DIS=2;
// ?ch=KEY locks to one era. ?start=KEY starts there and then rotates as usual. ?airship = ?start=desk&go (the homepage easter egg).
// ?go skips the boot card and starts the sound at once, but only if the browser lets this page start audio (see canSound);
// otherwise the boot card shows as usual and its click starts the sound.
const GO=Q.has('go')||Q.has('airship'),FIRST=LOCK||(ORDER.includes(eraKey(Q.get('start')))?eraKey(Q.get('start')):Q.has('airship')?'desk':ORDER[0]);
const make=k=>k==='desk'?new Desk():k==='maze'?new Maze():k==='stars'?new Stars():k==='ascii'?new Dungeon():new GSim(k);
let CUR,NXT=null,disT0=0,chEnd=0,RT=0; // RT: real seconds; the era dwell runs on it because T lags when frames are slow or the tab is throttled
const hold=()=>SURF||240+R()*60;
Expand All @@ -789,6 +794,10 @@
const x=b2.getContext('2d');x.setTransform(1,0,0,1,0,0);x.globalCompositeOperation='destination-in';x.imageSmoothingEnabled=false;x.drawImage(ditherMask(Math.min(1,(T-disT0)/DIS)),0,0,b2.width,b2.height);x.globalCompositeOperation='source-over';
ctx.setTransform(1,0,0,1,0,0);ctx.drawImage(b1,0,0);ctx.drawImage(b2,0,0)}
ctx.setTransform(s,0,0,s,0,0);drawTitle(ctx);drawClock(ctx);ctx.drawImage(SCAN,0,0,W,H);bootOver(ctx)}
// Can this page start audio without a click? A throwaway AudioContext tells: it runs only if the browser counts the visit as
// activated (a same-origin link click, or an iframe the page opened with allow="autoplay"). Resolves false after 250 ms if not.
function canSound(){return new Promise(res=>{const AC=window.AudioContext||window.webkitAudioContext;if(!AC)return res(false);let p;try{p=new AC()}catch(e){return res(false)}
try{p.resume().catch(()=>{})}catch(e){}setTimeout(()=>{const ok=p.state==='running';try{p.close()}catch(e){}res(ok)},250)})}
/* controls: hidden until mouse move or tap, fade after 3 s */
const ui=document.getElementById('ui'),pp=document.getElementById('pp'),fsb=document.getElementById('fs'),nx=document.getElementById('nx'),pv=document.getElementById('pv');let hideT=0,paused=false;
function poke(){if(BOOT.on)return;ui.classList.add('show');document.body.classList.remove('idle');clearTimeout(hideT);hideT=setTimeout(()=>{ui.classList.remove('show');document.body.classList.add('idle')},3000)}
Expand All @@ -811,6 +820,7 @@
window.CDROM={state:()=>({T:+T.toFixed(1),ch:CUR.key,next:NXT&&NXT.key,card:CM.card&&CM.card.id,cs:CM.state,duds:CUR.sim.duds.length,bag:CM.bag.length}),next:k=>startSwitch(k)};
size();
window.ready=Promise.race([Promise.all(['124px Jq','700 110px Pix','112px VT','52px VT','48px VT','52px Atk','700 56px Atk','44px Mono','700 46px Mono'].map(f=>document.fonts.load(f))),new Promise(r=>setTimeout(r,3000))])
.then(()=>{bootLoading();return new Promise(r=>setTimeout(r,50))}).then(()=>{makeContour();makeScan();makeD3();makeMazeTex();CUR={key:LOCK||ORDER[0]};CUR.sim=make(CUR.key);TTL.k=CUR.key;TTL.t0=-1;CUR.sim.spawn({ant:'V',eyes:'normal',mouth:'flat',legs:'spider',pal:'yellow'},true);chEnd=RT+hold();
for(const c of ACTIVE)cardLayout(c);if(!Q.has('manual'))requestAnimationFrame(tick);else draw()});
.then(()=>{bootLoading();return new Promise(r=>setTimeout(r,50))}).then(()=>{makeContour();makeScan();makeD3();makeMazeTex();CUR={key:FIRST};CUR.sim=make(CUR.key);TTL.k=CUR.key;TTL.t0=-1;CUR.sim.spawn({ant:'V',eyes:'normal',mouth:'flat',legs:'spider',pal:'yellow'},true);chEnd=RT+hold();
for(const c of ACTIVE)cardLayout(c);return GO&&BOOT.on&&!Q.has('manual')?canSound():false})
.then(ok=>{if(ok){BOOT.on=false;document.body.classList.remove('boot');soundButton();bootChime()}if(!Q.has('manual'))requestAnimationFrame(tick);else draw()});
</script></body></html>
Loading