Hypercube Downloads











This is the Hypercube 98 software. The program shows tumbling four-dimensional hypercubes, as well as some 3D polyhedra, and some 2D snowflakes. A preliminary version of the program (with only the snowflakes and polyhedra) was developed by Rucker with his CS 116A Computer Graphics class at SJSU, Spring 1996. As part of her CS Master's degree Writing Project, Farideh Dormishian added hypercubes to the program and improved it in other ways.

The original inspiration for the program was Rucker's desire to reproduce the appearance of snowflakes he saw falling outside his daughter Georgia's window during a visit to her apartment in NYC, March, 1996. Then Rucker and Farideh Dormishian had the idea that the window could just as well look out into hyperspace. There have been a number of programs which show tumbling wire-frame hypercubes. A difficult part of what Farideh Dormishian did was to get the hypercubes to appear with solid faces. The reason this is difficult is that a tumbling hypercube repeatedly turns itself "inside-out", which makes hidden-face removal a bit tricky.

This is a special shareware release of the software. The program may be freely recopied, but may not be commercially used or resold without written permission from Rudy Rucker. You can contact Rucker as: rucker@mathcs.sjsu.edu.

Use WinZip to unzip hypercube98.zip to your root directory, it will make a Hypercube 98 directory with the files.

Download the executable for Farideh Dormishian and Rudy Rucker's Hypercube 98 .  Posted June 1, 1998.

You can also download the source code for the program.  It uses a trick for rapid 3D rendering: the image is decomposed into a list of polygons that are quicksorted and drawn farthest to nearest according to the "painter's algorithm".  This works cleanly because (a) the polygons never overlap, and (b) all are about the same size.  The program is in C++ for the Microsoft compiler.

Download the source code for Farideh Dormishian and Rudy Rucker's Hypercube 98 .  Posted January 1, 1999.

Hyperspace Invaders.

Thesis project by Wyley Dai, 2003. 4D Space Invaders Game. Get the complete source, executable and report. Download Hyperspace Invaders.

Hypercube 98 and Hyperspace Invaders shows projections of hypercubes from four-dimensional space down to three-dimensional space; another way to look at hypercubes is to show "slices" of these four-dimensional objects by displaying their intersections with a fixed region of three-dimensional space.  (Think of the difference between a shadow of a cube and a cross-section of a cube.)  To see a remarkable Java applet that shows slices of the hypercube and a variety of other four-dimensional "polytopes," go to the awesome   Hyperspace Polytope Slicer page by Mark Newbold of Vermont.  His page shows you how to download Java 1.1, which you may need to do in order to get his app to run.
 Home         Biography         Books        Writing         Painting        Classes         Email