Monorepo for Aesthetic.Computer aesthetic.computer

p5-worker: real reframe + mouseWheel + better keyboard + ac global master

- reframe handled via act(event.is('reframed')) — calls p5Instance .resizeCanvas() and falls back to direct OffscreenCanvas resize. Also fires the sketch's windowResized() hook. - updates windowWidth/windowHeight/displayWidth/displayHeight globals whenever the viewport changes - mouseWheel routed from AC's device='wheel' events - keyboard: NAMED_KEYS table maps Arrow*/Enter/Escape/etc. to the numeric keyCode values p5 sketches expect (UP_ARROW=38 etc.) - keyTyped fires for single-char keys - touchStarted / touchEnded mirror mousePressed / mouseReleased - exposes a minimal `ac` global (jump, handle, notice) so sketches can navigate inside the AC graph without touching window.location Adds three demo sketches: - disks/process-18.js — Reas-style overlapping circles with rules - disks/flocking.js — Reynolds boids (Shiffman classic, ported) - disks/mandelbrot.js — pixel-array fractal w/ click-to-zoom


+375 -21
4 changed files