Skip to content

1681-engine / pixel / gustAt

Function: gustAt() ​

ts
function gustAt(
   tSec, 
   worldX, 
   gustSeconds, 
   gustPx
): number;

Defined in: src/pixel/swayRig.ts:177

A gust rolling across the world from the west: every tree it passes bends a little further, then less.

Parameters ​

ParameterType
tSecnumber
worldXnumber
gustSecondsnumber
gustPxnumber

Returns ​

number

Released under the MIT License.