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, 2:16 PM UTC) Commit e15e3e24 e15e3e248d9636474103ebae82664599b40fec40 Parent 26df451c 26df451cb2fc61690fabf1e6d6469c3f81f42297