deltaTime
GlobalElapsed time since the last draw call in seconds.
x = 0;
vx = 128;
function setup()
createWindow(400, 400);
frameRate(24); -- try with 60
end
function draw()
background('purple');
circle(x, height/2, 32);
-- Get the same velocity with different framerates
x = x + vx * deltaTime;
end