While coding on a Palm OS game yesterday, I created a simple circle drawing algorithm based on sine and cosine of an angle. The circles it drew were of very low quality – and I set out to find a better circle drawing algorithm.

After a few hours of searching, I finally found this page:
http://www.cs.unc.edu/~mcmillan/comp136/Lecture7/circle.html

It explains a rather simple algorithm that works very well – should you ever need a custom circle drawing routine(no, the Palm OS’s doesn’t do it here), you will be very happy to have this page at hand!

Related posts:

  1. O2 updates Pre teaser page
  2. Verizon opens network; puts Treo 755p teaser page online
  3. A little bug in FontBucket.c, routine FmValidFont
  4. Mastering algorithms in C review
  5. How to fix .php page download problems with Blazer