Sound travels at c₁ = 343 m/s in air. The lens is biconvex (both faces are circular arcs of radius R) and filled with a medium where sound travels at c₂. At each face the ray obeys Snell's law in its acoustic form, sin θ₁ / c₁ = sin θ₂ / c₂, i.e. an index n = c₁/c₂. For c₂ < c₁ (n > 1, for example a heavy gas such as CO₂ or SF₆ in a thin membrane shell) the lens converges the wave to a real focus; for c₂ > c₁ the same shape diverges it and the rays trace back to a virtual focus.
Rays are traced exactly: the entry point on the front arc, the refracted direction, the intersection of that ray with the back circle, the second refraction. Wavefronts are the surfaces of equal travel time, ∑ (leg length / local speed), taken along the traced rays, so they bend after the lens instead of only lagging in phase. The thin-lens formula is 1/f = (n − 1)·(2/R); a thick lens of centre thickness t has 1/f = (n − 1)[2/R − (n − 1)t/(nR²)] and a back focal distance f·(1 − (n − 1)t/(nR)). The ray-traced focus drifts from both as the ray height grows: that is spherical aberration, not an error.
Simplifications: geometric acoustics only, so there is no diffraction. The drawn wavelength is 0.25 to 0.8 m (a 430 to 1370 Hz tone in air) against a 1.8 m aperture, so a real focal spot would be roughly one wavelength wide and the ray picture is only approximate; the animation is slowed 170 times so a wave crossing the 6 m scene is visible. No reflection loss or absorption at the interfaces is modelled.