Something went wrong. Try again.
Monorepo for Aesthetic.Computer aesthetic.computer
Something went wrong. Try again.
disk: .js pieces = p5 sketch in iframe (Option D) master
Adds .js to the piece-resolution fallback chain. When matched, disk.mjs synthesizes a stub module via lib/p5-iframe.mjs that uses dom.html to mount /aesthetic.computer/dep/p5/p5-host.html?src=<sketch-url>. The host page imports p5.js (jsdelivr), fetches the sketch, and runs it in global mode. Worker boundary preserved. Demo at disks/p5-bounce.js. Architecture trade-offs in reports/p5js-integration-exploration.md — recording/preview don't flow back through AC's compositor under this approach; Option B (OffscreenCanvas-patched p5 in the worker) can layer on later.
Author prompt.ac/@jeffrey Date (May 28, 2026, 6:48 AM UTC) Commit ee288be5 ee288be59012a4cbb46c914a0c0f9a6d30f9e13e Parent 4efcdbec 4efcdbec648be0d38849e17c604f088b828dc2f3