computeStripeBands()
function computeStripeBands(outline, stripeCount): Rect[];
Defined in: packages/core/src/scene/appearance.ts:18
Computes the alternating vertical grass stripe bands across the outline (every other band is painted — the gaps are the "unpainted" stripes, left to show the surface color underneath). Pure geometry, no rendering.
Parameters
| Parameter | Type |
|---|---|
outline | Rect |
stripeCount | number |
Returns
Rect[]