Did you ever write code to drag or move shapes using Canvas 2d APIs? If you did, then didn’t you ever face a situation (an unexpected behaviour) when you drag or move a shape (e.g. circle, rectangle, image, Bezier cubic/quadratic curve, etc.)?
This post helps you write code to drag or move shapes as smoothly and accurately as possible using HTML5 Canvas 2d APIs.