I’m new to building games on canvas, and I’m trying to create one. But I encountered a problem with sprite movements. My sprites move is smooth, but sometimes it starts to “jump”. FPS is stable 60 frames pre seconds. Here is minimal implementation to play with: https://codepen.io/antonmedv/pen/ROjqXw Movements looks smooth, but some times really junky. Here is things I’m using: clearRect, requestAnimationFrame, time delta with performance.now, constant time steps for physics simulation. I tried to profile it, but everything is smooth in report (60 fps, each frame has little js, low cpu). Also tried using round x,y for drawImage, still junk movements. If turn off all physics and set const acceleration = vector(-1, 0) sprite movements again jumps time to time. How to make movements smooth? Thanks.