![]() It is provided "as is" without express or implied warranty. No representations are made about the suitability of this software for any The movie depicts a rotating spacetime hypercube, projected from 4 dimensions on to the 2 dimensions of the screen in the same way as the rotating 4D. Now its time to rotate the hypercube Rotate how In any of six possible rotation planes: x1-x2. Software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both thatĬopyright notice and this permission notice appear in supporting documentation. The 4-cube has 16 vertices, 8 3-d faces and 32 edges. Permission to use, copy, modify, distribute, and sell this See Also X(1), xscreensaver(1) CopyrightĬopyright © 1992 by Jamie Zawinski. XENVIRONMENT to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property. After you have every matrix, you need to multiply the cubes vertices with them. To rotate this, you need 6 different matrices for each rotational plane, one for the YZ, XZ, XY, XW, YW and ZW planes. Environment DISPLAY to get the default host and display number. With all this information, you technically have a hypercube in code. These should be smallįloating-point values (less than 0.05 works best.) Default: xy=0.01, xz=0.005, yw=0.01. xw float -xy float -xz float -yw float -yz float -zw float The amount that the cube should be rotated around the specified axis at each frame of the animation, expressed in radians. Some of the faces have only two of their border-lines drawn in the color0 color -color1 color -color2 color -color3 color -color4 color -color5 color -color6 color -color7 color The colors used to draw the line segments bordering the eight faces of the cube. observer-z int How far away the observer is from the center of the cube (the cube is one unit per side.) Default 5. each processor is connected to n others, by analogy with a hypercube of n dimensions. ![]() delay microseconds How much of a delay should be introduced between steps of the animation. Legal values are the name of a visual class, or the id number (decimal or hex) of a specific visual. visual visual Specify which visual to use. The hypercube is a generalization of a 3- cube to dimensions, also called an -cube or measure polytope. install Install a private colormap for the window. mono If on a color display, pretend we're on a monochrome display. Options hypercube accepts the following options: The hypercube program displays a wireframe projection of a hypercube which is rotatingĪt user-specified rates around any or all of its four axes.
0 Comments
Leave a Reply. |