Something went wrong. Try again.
Monorepo for Aesthetic.Computer aesthetic.computer
Something went wrong. Try again.
disk: swap p5 iframe (Option D) for real p5 in worker (Option B) master
p5.min.js v1.10.0 vendored under dep/p5/. p5-worker.mjs stubs document/ window/HTMLCanvasElement just enough to fetch+eval p5 inside the AC piece worker, then creates an OffscreenCanvas via the stubbed createElement and copies its pixels into screen.pixels each paint. Pointer/key events from AC's act() are marshalled into p5's mouseX/mouseY/keyCode globals; the sketch's mousePressed/keyPressed/etc. fire from there. Recording, preview, QR-share, reframe — all work because pixels land in screen.pixels like any native piece. p5.dom (createDiv/createSlider) is intentionally not wired yet. Removes lib/p5-iframe.mjs and dep/p5/p5-host.html.
Author prompt.ac/@jeffrey Date (May 28, 2026, 7:09 AM UTC) Commit ec06d950 ec06d9500805c800bfb268c7302f934de45f6491 Parent ee288be5 ee288be59012a4cbb46c914a0c0f9a6d30f9e13e