five-on-it / apps/client/src/renderer/camera / SPEED_ZOOM
Variable: SPEED_ZOOM
constSPEED_ZOOM:object
Defined in: apps/client/src/renderer/camera.ts:72
The zoom out at speed: the speeds it eases between and how quickly its filtered speed follows the car's.
Type Declaration
from
readonlyfrom:3=3
At or under this speed (m/s, a crawl: 11 km/h) the view stays in.
full
readonlyfull:36=36
At this speed (m/s, 130 km/h) and over, it is out by the whole strength.
in
readonlyin:0.4=0.4
How quickly it falls toward a lower one (1/s): half back in a second and a half after a dead stop, settled within five; a hard brake for a second dips the view a few metres, less than 40 % of what the raw speed would.
out
readonlyout:1.5=1.5
How quickly the filtered speed rises toward a higher one (1/s): half out half a second after a jump in speed.