CG Into ch1
CG Into ch1
CG Into ch1
\
|
+ =
( )
0 0
, y x
y
At each position in region 2, starting at k=0,
perform the following test. if , the next point
along the ellipse centered on (0,0) is and
Otherwise, the next point along the ellipse is
and
Using the same incremental calculations for x and y
as in region 1. Continue until y=0
k
y
0 2 >
k
p
( ) 1 ,
k k
y x
2
1
2
1
2 2 2
x k x k k
r y r p p + =
+ +
( ) 1 , 1 +
k k
y x
2
1
2
1
2
1
2 2 2 2
x k x k y k k
r y r x r p p + + =
+ + +
Midpoint Ellipse
For both regions, determine symmetry
points in the other three quadrants
Move each calculated pixel position (x, Move each calculated pixel position (x,
y) onto the elliptical path that is
centered on and plot the
coordinate values
( )
c c
y x ,
c c
y y y x x x + = + = ,