Weekly Lab Exercises

The lab exercises will be posted here weekly. The work in lab will lead into and be part of the week's project. Labs will also count significantly towards class participation.

Exercise 1 Getting around a computer
Exercise 2 Python, functions, and parameters
Exercise 3 Loops, conditionals, and command line parameters
Exercise 4 Images
Supervised work on project 4.
Exercise 5 Lists
Exercise 6 Object Collections
Exercise 7 Grammars, Files, and Interpreters
Exercise 8 Classes
Exercise 9 Inheritance
Exercise 10 Not Quite Straight Lines
Exercise 11 3D Turtle

Miscellany

The links below are code and notes from my guest lectures.

lsystem.py
The L-system evaluator we built in class Wednesday, 10/20/2010
interpret.py
The turtle interpreter we discussed in class on Friday, 10/22/2010
Lecture Notes
Dr. Maxwell's notes on L-systems
The Algorithmic Beauty of Plants
A book about L-systems, ABOP in the reading list on the syllabus. (Password protected.)

Laboratory Information

Section A: Wed 1:00 pm – 2:20 pm
Section B: Thr 1:00 pm – 2:20 pm
Location: Roberts 225

Instructor Information

Dr. Brian S. Eastwood
Office: Roberts 224C
Phone: 207 - 859 - 5852
Email: bseastwo [at] colby.edu
Website: bseastwo

Office Hours:
Wednesday 2:30 pm – 4:00 pm
Thursday 2:30 pm – 4:30 pm
... or stop by (Calendar)