Professional Documents
Culture Documents
Name: Pranav G Dasgaonkar Roll No: 70 CLASS: 8 (CMPN-2) CG Experiment No: 04
Name: Pranav G Dasgaonkar Roll No: 70 CLASS: 8 (CMPN-2) CG Experiment No: 04
ROLL NO : 70
CLASS : 8 (CMPN-2)
CG EXPERIMENT NO : 04
AIM: Implement midpoint Ellipse algorithm.
INTRODUCTION:
Ellipse is the set of all points, the sum of whose distances from two fixed points is
a constant. Midpoint ellipse algorithm is a method for drawing ellipses in
computer graphics. This method is modified from Bresenham’s algorithm. The
advantage of this modified method is that only addition operations are required
in the program loops. This leads to simple and fast implementation in all
processors.
THEORY: The curve is divided into two regions. In region I, the slope on the curve
is greater than –1 while in region II less than –1.