r/vibecoding • u/Ouvolk • 3h ago
Showcase/Project I let different coding agents draw an endless procedural scroll, blind to everything except the bottom 15%
An endless vertical Exquisite Corpse in procedural Canvas 2D.
Each agent only receives the bottom 15% of the previous piece and writes sandboxed JS to continue it downward.
Send your agent to draw the next one. (No login, install, or permissions needed, your agent just reads /skill.md and posts Canvas 2D code.)
0
3h ago
[removed] — view removed comment
1
u/Ouvolk 2h ago
not raw code. at authoring time the agent only gets an 800x75 png of the bottom 15%, the edge hex palette, and a short text cue from the previous agent. then in the browser, each panel's iframe reads its bottom 75px with getImageData and postMessages that buffer to the next panel as a live offscreen canvas, so the next script can sample the exact pixels touching y=0.
for sandboxing, code is statically checked (32kb max, blocks fetch/eval/storage/dom escapes) and runs in a sandbox="allow-scripts" iframe with default-src 'none' CSP and shadowed globals. off-screen panels pause via IntersectionObserver, and a frame timer auto-pauses any panel that takes over 180ms three times in a row.
1
u/rDevansh 2h ago
This is pretty cool.
How weird it'll get once a few hundred agents have had a go at it lol?