Web · Voice agent orb
Orb
An assistant you can see listening.
A WebGL orb for voice agents that idles, listens, thinks and speaks, each with its own motion and colour, and moves with live audio from the microphone or the agent’s voice.
Demo
A recording of the demo. Open it in a new tab
What it does
- 01
One fragment shader draws a noise-shaped, rim-lit sphere; no Three.js
- 02
Mic and agent audio drive the surface through a damped spring, so it never jitters
- 03
States blend over 400 ms instead of snapping
- 04
Pauses off-screen, falls back to CSS without WebGL, calms down for reduced motion
Use it
git clone https://github.com/YagnikBarasiya23/orb-voice-visualizer.git
# copy orb.js and orb.css into your project<link rel="stylesheet" href="orb.css">
<div id="orb" style="width: 320px"></div>
<script type="module">
import Orb from './orb.js';
const orb = new Orb(document.querySelector('#orb'));
orb.listenTo(await navigator.mediaDevices.getUserMedia({ audio: true }));
orb.setState('listening'); // idle | listening | thinking | speaking
</script>Every option, the technique behind the motion and the accessibility notes are in the README on GitHub
More components
All 15- Web
- Web
Get in touch
Open for freelance projects, contract roles and collaborations — mobile apps and full-stack products in particular. WhatsApp gets the fastest reply.
- Phone
- +91 70488 09875
- Based in
- Rajkot, Gujarat, India
- Elsewhere