Drawing Ellipse – The Bresenham Algorithm

    When looking at the circle representation on a graphics device ,  which distance between the rows of pixles is different from the distance between the columns, it is obvious that the circle on the screen looks like an ellipse.

     The construction of a centred ellipse can be done by the Bresenham's algorithm, similarly as at the circle,
while we have to compute the values as a quadrant  of a circle.

$$$APPLET

Applet Ellipse with center in point S[x,y] axes a a b

Copyright (c) 1999-2017 Juraj Štugel. www.netgraphics.sk