How can I make a mathematically accurate rotating cube animation?

No.12084594 ViewReplyOriginalReport
I made this gif by stitching together some frames made in AutoCAD. What I did was I started out with an isometric cube drawn inside an isometric circle (ellipse). Then I divided the ellipse into 32 equal parts then I made a bunch of frames where I moved all the vertical lines over one equal portion to the left in sequence. Then I would redraw the top and bottom vertices of the cube to connect to the horizontal vertices.

As you can see, it doesn't make the animation 100% accurate as the cube appears to stretch horizontally as it rotates. I have a hypothesis that if I divide the isometric circle a certain way, I can make an accurate animation. Before I divided the isometric circle as it it were a 2D ellipse having equal 2D sections. If I can make that ellipse having unequal 2D divisions but equal isometric divisions, it might make the animation work. The thing is, I don't know how to do it.