Skip to main content

std_dev_for

Function std_dev_for 

pub fn std_dev_for(blur: f32) -> f64
Expand description

The Gaussian standard deviation a CSS-style blur radius means.

Halving is the conventional mapping, and vello cuts its kernel at 2.5 * std_dev, so a token’s visible falloff ends about 1.25 * blur past the surface. One function so every surface agrees.