Acoustic Lens

Ray-traced sound waves refracting through virtual optical materials driven by audio

2D CanvasMediumBest for: Experimental, Ambient, Electronic, Cinematic

Acoustic Lens casts rays from a central origin and refracts them through elliptical lens shapes using a Snell's law approximation. Audio frequency bands control the refractive index of each lens, bending rays differently across the frequency spectrum. Beats shift the lens position and briefly increase all refractive indices for a dramatic bending effect. Six modes alter the lens arrangement and ray spread.

Key Features

64-ray refractionSnell's law approximationBeat-driven lens shift6 optical modes

Parameters

ParameterDescriptionRange / Options
Lens Modelens / prism / mirror / diffuse / scatter / waveguideSelect
Ray CountNumber of rays cast per frame16–128
Refractive IndexBase bending strength of the lens1.0–3.0

Tips & Best Practices

  1. 1

    Prism mode separates rays into a spectrum fan — striking with high Ray Count.

  2. 2

    Mirror mode bounces rays back — creates X patterns that pulse with bass.

  3. 3

    Waveguide channels rays into parallel paths that split on beats.

Export Performance

2D Canvas engine. Ray Count scales rendering cost — 64 is the sweet spot. 128 rays is visually dense but CPU-heavier.

All visualizers are copyright-free. Every video you export is yours to use commercially or personally, with no attribution required. You retain full ownership of your exports.