Skip to main content

Module pace

Module pace 

Source
Expand description

How often a frame may be made. A screen that does not change makes none; one that does is capped at a steady rate, except just after the person typed or clicked: then the next pictures come at once and quickly for a short while, so the typing is seen as it happens.

Structs§

Activity
When the person last sent input, shared between the thread that sends it to the screen and the thread that makes frames.

Constants§

BURST_GAP
The shortest gap between two frames inside that window.
BURST_WINDOW
How long after the person’s last key, click, wheel or paste frames may come quickly.

Functions§

base 🔒
gap
The gap to leave between two frames: steady normally, BURST_GAP while the person’s input is recent.