November 11, 2013

Pi Graphic

I wrote the following program as a predecessor to another program I wanted to write. It's just a computer-generated graphical image, so it is not user-interactive. I included the code in this post, in case you're interested in seeing how I did it.

Also notice that each time you reload the page, the image is slightly different. This is because I set it up to generate certain aspects randomly.