I'm a big fan of the Geometry Daily Tumblr. Tilman's minimalist geometry images are beautiful in their simplicity. I've always wondered about reproducing art in code as a vehicle for learning to code, and have had it on my list to do this myself using Tilman's work.
In my web programming class, where we are currently playing around with the HTML5 canvas and its drawing capabilities, this concept was a perfect opportunity to let students play around with the art form. They quickly observed the beauty of what can be created using these tools, and the power of doing so by studying someone that is great at it.
Here are some of the results of their sketches. Some did precise imitations, others did their own interpretations. Click on the image to see their code posted on JSFiddle.