heat
A temperature in .x that spreads and cools.
heat(config: {spread: OpArg; cool: OpArg}): HeatOp
Import op from shaders/std and use op.heat.
Parameters
| Name | Type | Notes |
|---|---|---|
config | {spread: OpArg; cool: OpArg} |
Example
`op.heat({spread: 0.3, cool: 0.4})`