1681-engine / index / fireflyGlow
Function: fireflyGlow() ​
ts
function fireflyGlow(t): 0 | 1 | 2;Defined in: src/ambient/life/lifeMotion.ts:72
A firefly's blink at t seconds: 0 dark most of the time, 2 a glow for a beat, 1 a dim pixel either side of it.
Parameters ​
| Parameter | Type |
|---|---|
t | number |
Returns ​
0 | 1 | 2