Midpoint Circle Drawing

CSC-214 · Semester III · Computer Graphics

Midpoint Circle Drawing

Plot the first octant, then mirror it 8-fold.

Octant point

plot (19+0, 10+7)

Start with p = 1 - r. Each pixel x++, and y decrements when p ≥ 0. Because of 8-fold symmetry only 1/8 of the circle needs computing — each octant point paints 8 pixels. Decision parameter stays integer-only.