Skip to content

five-on-it / apps/client/src/renderer/screen-fx / wobbleAt

Function: wobbleAt() ​

wobbleAt(t): object

Defined in: apps/client/src/renderer/screen-fx.ts:40

The camera's sway t seconds into a stun (m, across and along): two slow sines out of step.

Parameters ​

t ​

number

Returns ​

object

x ​

x: number

z ​

z: number