Skip to content

anim-format (runtime format) / zoomBlurPadding

Function: zoomBlurPadding() ​

ts
function zoomBlurPadding(strengthPct, size): number;

how far a zoom blur of strengthPct % smears the art (art at distance r from the centre reaches r / (1 - strength))

Parameters ​

ParameterType
strengthPctnumber
sizenumber

Returns ​

number

HereSplash — 2D animation for the web