tesseract
This is an old revision of the document!
Tesseract
A Tesseract is a four dimensional hypercube. While a square goes one unit in all four quadrants of a 2D graph, a cube goes one unit in all 8 octants on a 3D graph (the 3rd direction going off at a 45 degree axis), the tesseract goes one unit in all 16-hyperoctants of a a 4D graph (the 4th dimension going off at a 135 degree axis). This example is for use with Red-Cyan 3D (Anaglyph) glasses.
The rotation formulas are from Volume 1, Chapter 7, page 149 of A.R. Forsyth's Geometry of Four Dimensions Cambridge University Press, 1930 https://archive.org/details/geometryoffourdi032760mbp/.
The 3D effect works well when it is animated, but here are some screen-shots:
Things to Try:
- Make a single black lined Tesseract
- Rather than a timer, make the rotation from MouseMovements (Look here for how to get info from a MouseMotionListener
- Draw one of the squares in a different color so you can easily follow it around
Other Links
tesseract.1795630518.txt.gz · Last modified: by frchris


