These are some of the libraries developed for teaching:
voxellib: a Processing library for producing meshes from voxel data for rendering and fabrication.
latticelib: a library for Processing that makes easy to write cellular automata (CA) in Processing.