[SDL] "Perfect" circles

Bernard François bernardfrancois at gmail.com
Wed Nov 8 10:56:51 PST 2006


You need to look for circle rastering algorithms. The best one
according to me is Bresenham's algorithm.

Googling gave me the following page about it:
http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/bresenham.html

It's fast because it only uses integer calculations, and it gives a
very good result.


Kind regards,


Bernard François




More information about the SDL mailing list