This is the archived website of SI 413 from the Fall 2012 semester. Feel free to browse around; you may also find more recent offerings at my teaching page.
Piet was invented by David Morgan-Mar some time in the last ten years. It is another two-dimensional programming language, like befunge. But unlike every other language I know about the program is a picture. Yes, this is a graphical programming language where you draw a picture and the properties of the pixels in that picture determine the behavior of the language. Awesome, right? Check out the links below for some programs that are beautiful to look at.
The programs you submit should be in a single file
proj.ppm, for either part of the project.
I will test your code in the same environment as the lab
machines in MI 302, using the command
Helpful tip: You can use any graphics editor such as GIMP to edit
your images. To convert from any other format (png, gif, ...) into the ppm format
npiet wants, you can use the super-helpful command line utility
convert hello.png hello.ppmThat's all there is to it!
For this language, you only need to implement modification A. See the Phase 1 page for details on what this means.
See the Phase 2 Page for the list of suggested
problems. Of the ones listed, I recommend the following as being most
well-suited for piet: