Interact with light, color, and sound in Inpermanence, a p5.js + Arduino experience exploring memory, change, and letting go.
Creative Computing

An interactive artwork that translates light into living memory. Using an Arduino photoresistor, the system continuously measures ambient light levels (0-1023 range). When darkness is detected (sensor covered), colorful particle systems spawn and generate corresponding musical notes from a pentatonic scale.
Technical Stack:
Frontend: p5.js (visual rendering + p5.sound for synthesis)
Hardware: Arduino Uno + photoresistor voltage divider circuit
Communication: Web Serial API for real-time sensor data
Audio: 12 independent sine wave oscillators mapped to color/frequency pairs
Behavior: Particles exhibit emergent flocking behavior, connecting via proximity-based lines. Each of 12 pastel colors corresponds to a unique frequency, creating generative harmonies. Extended darkness (>1.5s) "preserves" memories, making them glow brighter and resist light-induced decay.
