tiles
Repeats a field count times, always wrapping.
tiles(field: Field, count: FieldScalar): Field
Import paint from shaders/std and use paint.tiles.
Made for sweeps: tiles(dist.conic(...), 4) gives four sectors. Any count works, including fractions.
Parameters
| Name | Type | Notes |
|---|---|---|
field | Field | |
count | FieldScalar |
Example
paint: rampOver(tiles(dist.conic({center: p('center'), rotation: p('rotation')}), p('repeat')), stops(p('colorSpace')))
See also
rings— Repeats a field as concentric bands.