decay
Fade every channel toward 0, halving every halfLife seconds.
decay(config: {halfLife: OpArg}): DecayOp
Import op from shaders/std and use op.decay.
Parameters
| Name | Type | Notes |
|---|---|---|
config | {halfLife: OpArg} |
Example
`op.decay({halfLife: 1.5})`