waveletBands
Rotating bands of wavelets: layered ripples that turn against each other, a watery interference look.
waveletBands(slots: {detail: PropRef}): Field
Import noise from shaders/std and use noise.waveletBands.
detail is the frequency ratio between the four layers (1.05 to 2, default 1.24; higher adds finer ripples). The bands slide on the layer's clock. Signed, about −1 to 1: wrap it in unitized before a tone word. Takes a 2D position.
Parameters
| Name | Type | Notes |
|---|---|---|
slots | {detail: PropRef} |
Example
paint: rampOver(noiseTone(seededPlane(unitized(waveletBands({detail: p('detail')})), {scale: p('scale'), seed: p('seed')}), {contrast: p('contrast'), balance: p('balance')}), stops(p('colorSpace')))
See also
gaborGrains— Oriented sine grains: short striped patches, each facing a random way, like brushed metal or wood grain.unitized— Turns a signed field (−1 to 1) into a unit field (0 to 1).