2079 2

BIT304 · 2079 · 10 marks

How decision parameter can be used to draw circle? Calculate the points to draw a circle having radius 5 and center as (10, 5).

How decision parameter can be used to draw circle? Calculate the points to draw a circle having radius 5 and center as (10, 5).[10]

Computer GraphicsChapter 3: Line and Circle Drawing AlgorithmsDecision parameters for circle generationNumerical: Midpoint circle drawing
  • Radius $r = 5$ - Center $(xc, yc) = (10, 5)$ The Midpoint Circle Algorithm uses a decision parameter to choose between two candidate pixels while scanning one octant, avoiding floating-point square roots. For a circle centered at origin: $$f(x, y) = x^2 + y^2 - r^2$$ - $f < 0$: point inside cir...