Computer Graphics20785 marksNumerical: midpoint circle algorithmScan Converting Circle and Ellipse
Plot the 1st octant of a circle centered at origin, having the radius 10 units.
Plot the 1st octant of a circle centered at origin, having the radius 10 units. [5]
- Center: origin $(0, 0)$ - Radius: $r = 10$ units - Required: 1st octant only (arc from $(0, 10)$ to the $x = y$ line, i.e. 90° to 45°) Starting point: $(x0, y0) = (0, r) = (0, 10)$ Initial decision parameter: $$p0 = 1 - r = 1 - 10 = -9$$ Update rules (for 1st octant, x increasing, y decreasing)...