CS253 Lab 1: Making a caterpillar

Due Tuesday, August 26

For lab 1, write a script that produces a caterpillar in Blender. Take a look at some pictures, but for this lab, a caterpillar consists of a series of segments, each of which has a pair of legs, except for the head which has none. The sections can be made from a sphere, if you overlap somewhat (it won't hurt anything if each segment is nested inside the next). Make it easy to change the number of sections with a parameter (this can just be a variable, given a value at the top of the script).

Turn in a screenshot or rendered picture of your caterpillar on Canvas, along with the script that you used to generate it.