deltaTime

v0.1.6
deltaTimeGlobal

Elapsed 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(51);

  circle(x, height/2, 32);

  -- Get the same velocity with different framerates
  x = x + vx * deltaTime;
end
See deltaTime in window.h