Couple of the trickier shape-plotting functions

todo: wrap into functions :)

(The reason nothing has been going up here recently is that
I have students working on some of this material.)