Custom Libraries
Therer are many p5.js libraries that would receive live inputs from different sensors and devices.
- p5.sound - for audio input and manipulation
- ml5.js - for machine learning models
- p5.webserial.js - for serial communication with microcontrollers like Arduino
More libraries can be found on the p5.js website.
Assignment
Due: Nov 18, 2025
Submit Assignment
Begin by identifying the community you wish to engage and the environment in which your system will exist. Observe how participation naturally occurs within this context and consider how your design might introduce new forms of interaction that unfold over time.
Consider what kinds of inputs best capture participation or environmental change: sound, motion, gesture, light, text, or network data. Experiment with simple prototypes to test how these inputs might be sensed and translated into a dynamic response.
- Think about how participants will be prompted to engage. What invitations, cues, or gestures draw them in?
- What feedback encourages ongoing involvement? How might these exchanges evolve across minutes, hours, or days?
- How does the physical environment shape interactions? Consider spatial arrangements, materiality, and context.
This is the continuing process of our project 3: Community Protocol. We will continue to refine and develop this project over the next few weeks. The full description is here.
Examples
Tutorials & Resources
- Beginner’s Guide to Machine Learning in JavaScript with ml5.js
- Sound Visualization: Frequency Analysis with FFT - p5.js Sound Tutorial
- Creative Coding Math: Linear Interpolation (Lerp Function) - Patt Vira
- frameRate(), frameCount, millis() - Xin Xin
- Mouse & Key Inputs - Xin Xin
- Connecting p5 & Arduino through the serial port - Quarduino
- Arduino is easy, actually
(