scaledPlane
Frames a field on the aspect-corrected canvas plane, zoomed by a plain multiplier.
scaledPlane(field: Field, slots: {scale: PropRef}): Field
Import noise from shaders/std and use noise.scaledPlane.
Unlike seededPlane, scale is linear: roughly the number of pattern cells across the canvas height. There is no seed. The position is computed once, so a recipe whose parts read it several times pays for it once.
Parameters
| Name | Type | Notes |
|---|---|---|
field | Field | |
slots | {scale: PropRef} |
Example
paint: rampOver(unitized(scaledPlane(waveletBands({detail: p('detail')}), {scale: p('scale')})), stops(p('colorSpace')))
See also
seededPlane— Frames a field on a zoomable plane: how big the pattern is and where it starts.cellDistances— Distances from each pixel to its nearest two cell points, as(d1, d2): the raw material for Voronoi fills and borders.