1681-engine / index / ButterfliesOptions
Interface: ButterfliesOptions ​
Defined in: src/ambient/life/Butterflies.ts:6
Properties ​
count ​
ts
count: number;Defined in: src/ambient/life/Butterflies.ts:7
depth? ​
ts
optional depth?: number;Defined in: src/ambient/life/Butterflies.ts:13
Depth in the world layer (default 900_000).
home ​
ts
home: LifeSource;Defined in: src/ambient/life/Butterflies.ts:11
A flower patch in view to settle round, or null when none is on screen.
looks ​
ts
looks: readonly readonly [string, string][];Defined in: src/ambient/life/Butterflies.ts:9
Each tone's two frames, wings open then shut; butterfly i wears looks[i % looks.length].
maxNight? ​
ts
optional maxNight?: number;Defined in: src/ambient/life/Butterflies.ts:15
Past this night they are gone (default 0.4).
random? ​
ts
optional random?: () => number;Defined in: src/ambient/life/Butterflies.ts:17
Returns ​
number
snap? ​
ts
optional snap?: boolean;Defined in: src/ambient/life/Butterflies.ts:16