Parameter
Input
Description
zoom
Zoom level of the simulation
f(x)
Height of track at each point as a function of x (JS notation)
f′(x)
Gradient of track at each point as a function of x (JS notation)
dt
Time step size
Run