Bonsai: Wiring the World into Sound and Image
A workshop by NeuroGEARS at Peckham Digital, Festival of Creative Computing 2026.
Bonsai is an open-source visual reactive programming language for composing streams of data into real-time interactive systems. Every input is a stream of events, and every transformation is a composable operator that runs live. Bonsai was born in the neuroscience lab, but the same dataflow model suits creative computing: cameras, microphones, sensors and controllers all become streams that can be routed, combined and mapped onto sound and image.
This session introduces Bonsai through the lens of an interactive installation. Starting from a blank canvas, we build a live demo that reads from a camera and a microphone, processes both signals in real time, combines them, and routes the result through OpenGL shaders to the screen. In the second half you fork the demo and make it your own: swap sensors, change transformations, or remap what drives what.
No prior experience with Bonsai is required. Curiosity about programming is enough. You will leave with a working Bonsai workflow, an understanding of its core programming model, and a template you can extend for your own projects.
Schedule
This is a tentative schedule for the workshop. Details will be confirmed closer to the date.
| Part | Duration | Materials |
|---|---|---|
| Introduction to Bonsai | 15 min | Slides |
| Live demos: machine vision, audio, shaders and interfacing with devices | 45 min | Worksheets |
| Hands-on: fork the demo, showcases | 30 min | Fork It |
Before you arrive
- Bring a laptop running Windows 10 or later. Bonsai can run on Linux, but it is developed primarily for Windows.
- Install Bonsai in advance by following the Getting Started worksheet. It is free and open source, and installing ahead of time will save time during the workshop.
During the session
- Cameras, microphones and controllers are provided to share during the hands-on session. Your laptop's built-in webcam and microphone also work for most of the exercises.
- You can copy the workflows built in the demo straight from the worksheets and paste them into your own Bonsai editor.
Sections
- Slides — the introductory talk.
- Worksheets — step-by-step exercises for the hands-on session, with workflows you can copy and paste into Bonsai.