View source: R/calc_bokeh_size.R
calc_bokeh_size | R Documentation |
Calculates the amount of blurring at each point with camera characteristics.
calc_bokeh_size(z, zfocus, f, N, ramp)
z |
Depth matrix. |
zfocus |
Depth in which to blur. Minimum 0, maximum 1. |
f |
Focal length of the virtual camera. . |
N |
F-stop. Focal length of the virtual camera. |
Matrix of bokeh sizes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.