Creating a continuous (as opposed to a discrete) snake