Wednesday, February 3, 2010

Random Art

I'm implementing Christopher Stone's Random Art Nifty Assignment in preparation for assigning it in a data structures course I'm teaching. Since the assignment involves the creation of "random" functions of two variables, it's a good opportunity to discuss the idea of using trees to represent expressions.

Obligatory screenshot of first successful run of the program:

This is an extremely cool assignment.

1 comment:

Tom said...

Your link to the random art assignment is broken. Needs the "http://", I think. Anyway, thanks for the tip. That does look like a good assignment.