Bresenham algorithm for a circle

$$$APPLET

Applet Select one point on circle.

Bresenham's algorithm for circle rastering: