FX: Rack focus
An example of racking focus between three lamps in 3D with lensBlur() and the Motion+ <motion-fx> element. The focal plane's z is a motion value, animated from the near lamp to the far one.
Matt Perry13 Nov 2026- JavaScript
Related examples
FX: Bokeh
FX: Deeper elements
FX: Depth deck