#Draw Tribe
#Purpose
The Draw tribe section controls what pointer input writes into the grid. Drawing is live editor input:
it sends brush commands to the WebGPU worker, which mutates the active grid buffer and updates the render preview.
#Controls
- Tribe swatches:
One swatch is shown for each non-dead tribe. Clicking a swatch toggles it in the draw selection. Multiple selected tribes are used as random brush candidates. - Delete swatch:
Toggles delete mode. Delete mode simply writes thedeadtribe. - Size:
Brush size in cells. The value is clamped between and of the smaller grid dimension. The UI showsMin 1orMax Nwhen input is invalid or capped.
This field is persisted across sessions. - Shape:
Brush footprint. Available values are square, round, diamond, vertical line, and horizontal line.
This field is persisted across sessions. - Mode:
Brush fill behavior.Fulltargets every cell in the footprint,Spraytreats the footprint as a randomized spray area, andOutlinetargets only the border of the chosen shape.
This field is persisted across sessions. - Density:
Brush density percentage for the current mode. The value is clamped from to . Each mode stores its own density, so switching betweenFull,Spray, andOutlinerestores that mode's last value. Defaults are forFullandOutline, and forSpray.
InFullandOutlinemode, cells in the footprint that are not selected by density stay unchanged. InSpraymode, cells in the footprint that are not selected by density becomedead.
This field is persisted across sessions. - Touch:
Mobile-only control.Drawmakes touch input paint cells, whilePanmakes touch input move the camera. Two-finger touch always performs pinch zoom.
#Canvas Behavior
Left mouse or primary pointer input draws. Right mouse input pans. Mouse wheel zooms around the pointer. Touch input draws or pans depending on the Touch control, and active touch pointers switch to pinch zoom.
Brush edge behavior follows the grid topology from Grid size. In toroidal mode, brushes wrap across grid edges. Internally, a wrapped brush stroke is split into up to non-wrapping dispatch rectangles so the shader can update packed cells without special cross-edge writes inside dispatch. In bounded mode, brushes clip at the grid edge and do not paint the opposite side.