LissajousPRO
An oscilloscope Lissajous figure with a phosphor trail that folds and grows with the incoming voice, for when the agent is listening.
Code
3 files · 119 lines of TypeScriptPRO
Lissajous is part of Pro
Get its source, the one-paste agent prompt and all 113 components, for a one-time $99.
Motion notes
- Quiet is a 1:1 loop that slowly breathes between a circle and a tilted oval; a loud voice folds it into a turning 2:3 knot. The figure's shape is the input, so you can see the agent hearing you.
- The two figures are blended rather than detuned: whole-number ratios keep the curve closed however the level moves, so it reshapes smoothly and never jumps or stalls.
- The shape follows the level slowly (calm) while the size follows it quickly (responsive). The trail covers one whole figure with phosphor decay behind the beam, so the full shape reads even at 24px.
- Without a level it simulates someone talking: phrases, pauses, syllables. Halos soften in light themes, where glow would read as a smudge.
Usage
Example
<StatusPill icon={<Lissajous level={micLevel} />} label="Listening" />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| size | number | 32 | Size in px. |
| level | number | — | Live input level, 0–1. Leave unset to simulate someone speaking. |
| className | string | — | Classes for the canvas. |