Dot animations that morph.
Twenty-one shapes for loaders, AI states, status badges, desk displays and hero moments. Draw them as dots or glowing lines, let them move with sound, then copy one line of HTML.
Studio
Make it yours, then copy the code.
A state picks a shape and pace for you. In your code it's orb.state('thinking') or data-state="thinking".
Slices in the lines style, and the connecting lines in shapes like constellation. 0 is automatic.
Goes through every shape except the check and cross badges.
Let the orb move with sound. Bars follow the actual frequencies; other shapes pulse and push out on the beat.
The microphone is analysed in your browser only. Nothing is recorded or sent anywhere. In your own page, link an orb to a player with data-audio="#player"; it's added to your code when sound is on.
Get the code
One file, about 11 KB gzipped, no dependencies. Every card follows the changes you make in the Studio.
HTML
Load the script once, then add a canvas wherever you want an orb.
React
Install with npm install @shazmoghaddam/orbs, then pass a state prop to switch it.
Vue
Install with npm install @shazmoghaddam/orbs, then pass a state prop to switch it.
Desk display
Turn a spare iPad, tablet or monitor into an ambient orb. Open the link, tap for full screen, and it keeps the screen awake and drifts a few pixels each minute to protect it. On an iPad, add it to the home screen to hide the browser bars.