
The colour columns
Hover, SVG
The equalizer of a music app: eight bands, from 60 hertz to 16 kilohertz, joined by a single smooth curve. The presets (Flat, Bass, Vocal, Treble, Lounge) reshape it on a spring, one knob after the other; each band drags with a finger and says its decibels. Behind it moves the spectrum of the song, taller where the curve lifts it.
A folder that runs on its own: index.html, style.css, script.js and the libraries from a CDN. The React and Vue tabs hold the same demo as a ready component, which switches its animations off when it leaves the page.
<!doctype html>
<!--
"Curve equalizer" from Animorio · https://animorio.com
License: free on your own sites and your clients’ sites, paid work included.
Not for resale, redistribution, templates or code collections · https://animorio.com/en/license/
-->
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Curve equalizer</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/wdth.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<main class="stage">
<!-- the equalizer of a music app: eight bands joined by one curve, presets that reshape it on springs,
and the spectrum of the song behind, louder where the curve is higher -->
<section class="eq" data-eq aria-label="Equalizer">
<header class="eq__head">
<h2 class="eq__title">Equalizer</h2>
<span class="eq__roll eq__preset"><span data-preset aria-live="polite">Flat</span></span>
</header>
<div class="eq__graph" data-graph>
<svg viewBox="0 0 300 170" data-svg aria-hidden="true">
<defs>
<linearGradient id="eq-fill" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" class="eq__stop-a"></stop>
<stop offset="1" class="eq__stop-b"></stop>
</linearGradient>
</defs>
<g class="eq__grid">
<line x1="0" y1="23" x2="300" y2="23"></line>
<line x1="0" y1="85" x2="300" y2="85" class="eq__zero"></line>
<line x1="0" y1="147" x2="300" y2="147"></line>
</g>
<g class="eq__bars" data-bars></g>
<line class="eq__guide" data-guide x1="0" y1="8" x2="0" y2="162"></line>
<path class="eq__area" data-area></path>
<path class="eq__glow" data-glow></path>
<path class="eq__curve" data-curve></path>
<g data-knobs></g>
</svg>
<span class="eq__db eq__db--top">+12 dB</span>
<span class="eq__db eq__db--low">−12 dB</span>
<output class="eq__tip" data-tip></output>
<div class="eq__inputs" data-inputs></div>
</div>
<div class="eq__freq" data-freq aria-hidden="true"></div>
<div class="eq__chips" data-chips role="group" aria-label="Presets"></div>
</section>
<svg class="ghost" data-ghost viewBox="0 0 24 24" aria-hidden="true"><path d="M5 3.200 19.200 11l-6.300 1.600-3.300 5.900Z"></path></svg>
</main>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.min.js"></script>
<script src="script.js"></script>
</body>
</html>Change values, colours and text with the controls and watch the animation respond live. Or write in the code yourself. Then download the folder with your changes.
14 values to change
Works with Claude, Claude Code, ChatGPT, Cursor, VS Code, Windsurf, Codex, Gemini CLI
With the Animorio connector, Claude Code, ChatGPT, Cursor or VS Code take it from here, guide included, and fit it into your project. Paste this request:
Take “Curve equalizer” from Animorio and fit it into my siteEach band holds the value chosen and where its knob is right now. Every frame the curve is worked out again as a Catmull-Rom spline through the eight points, flat at both ends.
A preset is a list of eight fractions of the range. Each knob gets there on a GSAP elastic, four hundredths of a second later than the one before: the curve moves like a wave from left to right.
The bars are two sines multiplied, different for each, with a tilt from bass to treble. The height is then multiplied by the curve’s gain at that point, as a real equalizer would.
No need to hit the knob: the pointer picks the nearest band horizontally and its height becomes decibels. The pointer stays captured by the graph until it is released.
Under each band sits an invisible range input named after its frequency: Tab and the arrow keys adjust everything, and screen readers read the decibels.
| Name | File | Default | What it changes |
|---|---|---|---|
ACCENT | script.js | #b9f24e | The colour of the curve, the knobs and the spectrum. |
RANGE | script.js | 12 | How many decibels each band can be raised or cut. |
SPRING | script.js | 1 | How elastic the curve is when the preset changes: 0.3 = stiff, 2 = very elastic. |
LIVELY | script.js | 1 | How much the song’s spectrum moves behind the curve: 0 = still, 2 = very lively. |
LOOP | script.js | true | Left alone, the demo’s pointer tries two presets, drags two bands and goes back to Flat. |
In the audio settings of a music or podcast app, in the companion app of headphones or a speaker, in a web player. The same curve with knobs works wherever eight neighbouring values are tuned together: a colour curve, a brightness profile through the day.
The same card, as wide as the screen: the graph scales in proportion, bands drag with a finger without scrolling the page and the decibel label stays visible while dragging.
The spectrum holds still, presets put the knobs in place at once and the curve redraws with no spring. Dragging, keyboard and labels work the same. The demo does not move by itself.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 7.6 KB; the libraries: GSAP 28 KB.
Tested on 21 November 2026
Use it in your own projects and in your clients’ projects. Do not resell it or redistribute it as is. GSAP stays under its own Standard license. Full license.
You asked for
We made it for you: it’s in the library, with the preview, the Playground and the code to copy.
An animation you can’t find, or a site to take apart in the journal: tell us which. We pick the next ones from here.
With your account’s email and password.
or with your email
You’re signed in as .
With your account, you can download the zip of every animation and every pack, for free.