2075 8

CSC214 · 2075 · 5 marks

Plot the ellipse centered at (0, 0) with radius rx = 8 and ry = 6, using mid point ellipse drawing algorithm.

Plot the ellipse centered at (0, 0) with radius rx = 8 and ry = 6, using mid point ellipse drawing algorithm. [5]

Computer GraphicsChapter 2: Scan Conversion AlgorithmScan Converting Circle and EllipseNumerical: midpoint ellipse algorithm

--- - Center $(xc, yc) = (0, 0)$ - $rx = 8$ - $ry = 6$ Precomputed: - $rx^2 = 64$ - $ry^2 = 36$ - Starting point: $(x0, y0) = (0, ry) = (0, 6)$ --- Continue while $2 ry^2 x < 2 rx^2 y$. Initial decision parameter: $$p10 = ry^2 - rx^2 ry + \tfrac{1}{4} rx^2 = 36 - 64(6) + \tfrac{1}{4}(64) = 36 - 3...