More work on snake animation.