From fewer than 90 lines of Tikz code . . .
. . . I can create a 100-page pdf that gives me a flip book of a rotating necker cube.
Here's a geogebra applet that allows me to rotate a cube in perspective, with a "large" viewing distance (relative to the distance to the cube).
This looks fairly reasonable to us, even though we're not at the right viewing distance.
But if we move the image of the cube far from the viewing target (or equivalently, decrease the viewing distance), the cube looks like a dumpster when were are not at the right viewing location.
Similarly, if we rotate the cube, it now looks like in changes shape as it rotates (again, when we are not at the right viewing location).
Question: How to code this in tikz, to make it into a flip book?

















