Metal Orbs, animated React component
Two liquid-metal metaballs shaded per pixel with a fake chrome reflection on a 2D canvas. They bulge toward each other and pool when they meet; switch between joined, apart and orbit, or drag the cool orb around.
- Pro
- Shaders
Play with it
Move the controls and watch it change. Copy code gives you a snippet with only the props you changed.
Drag inside to pull the cool orb around.
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| width | number | 440 | Canvas width in px. |
| height | number | 280 | Canvas height in px. |
| autoplay | boolean | false | Cycles joined, orbit and apart by itself until someone interacts. |