Here are the Blender source files for the example I showed in class: