Cymatics

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/slider-cymatics

About this component

A frequency slider on a vibrating plate scattered with sand: behind the thumb the plate rings, the grains dance and gather on its nodal lines, more lines the higher the pitch, and they migrate to the new pattern as you sweep. Ahead of the thumb the sand lies where it fell.

Dependencies
None
Difficulty
Advanced
Reduced motion
Respected
Theme
Light and dark
Follows page color-scheme

Triggers3

  • State change
  • Continuous
  • Fill

Techniques4

  • CSS transition
  • Keyframes
  • CSS variables
  • Transform only

Accessibility

Keyboard and screen readers

A native range input named Frequency with hertz as its value text; the plate is aria-hidden.

Reduced motion

The grains jump to their lines and do not buzz.

Use it in anything you build, commercial and client work included. Licence

More sliders

See all
DiscoGet code
FerroGet code
FibreGet code
ForgeGet code