I'm guessing there's some kind of system of equations (matrix?) that calculates coordinates for all the points such that they simultaneously represent the figure spinning both ways? Not looking for technical details, though, just an outline/intuition. I know computer animation/graphics use linear algebra, right? So is it the main prerequisite for understanding/creating stuff like this?