A circle is every point a fixed distance r from its centre. Drag the centre C and a point Q on the circle: the equation (x − a)² + (y − b)² = r² is just Pythagoras on the radius.