Hacker News new | ask | show | jobs
by benhoyt 2802 days ago
The Bresenham Circle Algorithm is cool too. You can draw a circle with it in just a few lines of code: https://en.wikipedia.org/wiki/Midpoint_circle_algorithm