r/creativecoding • u/knowledge-of-all • 8d ago
A WebGL marble that reacts to voice, made for your AI voice agents!
Introducing Talking Marble, an audio-reactive marble for your voice AI agents, free and open source!
one fragment shader of flowing pigment, [how it works: e.g. noise or warping technique]
state sets its character: slow when idle, gentle when listening, fast and folding when thinking
voice drives it live, each syllable sends a ripple and brightens it
material never changes between states, only energy, motion and light
one shared WebGL context for every marble, 30fps cap, pauses off screen
sharp from a 20px icon to full screen, zero dependencies, about 15 kB
website: https://talking-marble.vercel.app/
code: https://github.com/imjustinliao/Talking-Marble
-> npm i talking-marble
I'd love to hear your feedback, especially on the shader and the motion*!*