Skip to content

PingpongStep

PingpongStep = object

Defined in: pingpong-step.ts:2

Where a bouncing position landed, and which way it is now travelling.

direction: 1 | -1

Defined in: pingpong-step.ts:6

Which sign the next delta should carry.


value: number

Defined in: pingpong-step.ts:4

The new position, always within [0, max].