Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Weekly Challenge #11: Drawing Circles


Time was tight this week, as we're moving to another house (just a few blocks away, but still, moving is moving!). Thus, in order to save time, I went with a Ruby implementation, and just did the bare minimum--drawing a circle using the midpoint circle algorithm.

It uses ChunkyPNG to generate the image.

$ ruby circles.rb

This will generate circles.png image, showing the resulting circle.


This code is provided as-is, with no guarantees or promises of support of any kind, implied or otherwise. You may use it however you wish, the sole exception that you may not claim authorship or any kind of financial control over the code.


Jamis Buck jamis@jamisbuck.org