1681-engine / pixel / SwayMode
Type Alias: SwayMode ​
ts
type SwayMode = "crown" | "top" | "hang" | "tufts";Defined in: src/pixel/swayRig.ts:17
crown: a tree; the canopy above the trunk sways, the trunk found in the pixels (trunkPivot);top: the toptopshare of the frame sways (a bush, a reed clump);hang: a cloth hanging off a bar (cloth), each pair of rows swinging wider and later down it;tufts: only the given rects move (reeds painted into a bigger sprite), per variant.