Blog37.8K views2,118 votes0 replies1,269 following
Make Your Processing Sketches Frame-Rate Independent with millis()
Processing sketches that move objects by fixed pixels per frame run at different speeds on different displays. Compute delta time from millis() to make motion frame-rate independent.