Kathryn Cramer, 2026. The p5.js code behind the film.
A fruit fly's brain, seen from the front, lives through eleven scenes in a two-minute loop. The brain is the FlyWire connectome reduced to its 78 regions and their strongest pathways. The activity on those pathways, the score and the thoughts are invented.
- p5.js web editor: open https://editor.p5js.org, replace everything in
sketch.jswithwhats_it_like_to_be_a_fruit_fly.js, press play. Use full screen; the canvas is 1400 × 800. - Locally: put
index.htmland the.jsfile in one folder and openindex.html.