Help w/Plotting a circle...

Scott J Brickner sjb at piobe.austin.ibm.com
Thu Jun 13 08:13:59 AEST 1991


I seem to remember a really neat article in Dr Dobbs Journal (the
magazine) about two or three years ago...  it had about six different
circle and line drawing algorithms of varying complexity... does anyone
else remember this and know which issue it was in?

In general, though, a quick optimization for any of the circle drawing
algorithms is to only COMPUTE 1/8th of the points, and use reflection
about the various axes x=0, y=0, y=x, and y= -x for the remainder.

Good luck...
Scott



More information about the Comp.lang.c mailing list