Skip to example

FX: Bokeh

An example of lens bokeh with lensBlur() and the Motion+ <motion-fx> element. Lights far behind a sharp sign blur into discs with shape: "disc", or into soft glows with the default smooth blur.

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.