Skip to example

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.

JavaScript

Not ready? Try 10 Motion+ demos free.

Create a free Motion account to run 10 Motion+ demos live, with their controls. No card needed.