Dec 052017
Interesting 4-D graphics laboratory package. Works with CGA/EGA.
File 4DLAB.ZIP from The Programmer’s Corner in
Category Printer + Display Graphics
Interesting 4-D graphics laboratory package. Works with CGA/EGA.
File Name File Size Zip Size Zip Type
4D.BAT 17 17 stored
4D.EXE 23986 12635 deflated
4DEGA.EXE 24946 12973 deflated
4README.DOC 4204 1803 deflated
PSFILE.PS 10538 785 deflated
SHAPEDEF.EGA 14577 3307 deflated
SHAPEDEF.MAT 14501 3249 deflated

Download File 4DLAB.ZIP Here

Contents of the 4README.DOC file

4D Graphics Laboratory Copyright (c) 1986, 1987 George D. Girton
12021 Wilshire Boulevard, Number 537, Los Angeles, California 90025

How to start and operate the 4D Graphics Laboratory program disk.

Required equipment:
You need an IBM PC, XT or AT, Compaq, or other compatible, or IBM PC-Jr
to run this program. It will work with MS-DOS or PC-DOS 2.x or 3.x.
A Color Graphics Adapter (CGA) or Enhanced Graphics Adapter (EGA) is also

If you have a hard disk system:
Copy all the files from the distribution diskette to the subdirectory of
your choice on your hard disk, and change to that directory, as follows.

c:log onto your hard drive
mkdir c:\4d make a new directory off the root, "4d"
copy a:*.* c:\4dcopy the distribution files, including this one, to 4d
cd \4dmake "4d" the default directory to run the program.

Then, depending upon your graphics environment, proceed as in step
2CGA or 2EGA, below.

If you have a floppy disk system:

A DOS disk is required to get to the "A>" or "B>" prompt before doing

1. Insert the disk in the computer.

2CGA: If you have a Color Graphics Adapter (CGA), type 4d.
2EGA: If you have an Enhanced Graphics Adapter (EGA), type 4dega.

3. The program will run, and the title "4D Graphics Lab"
will move around the screen in various dimensional rotations.

4. Then, the message "loading shape definitions" or "loading" will
appear on the screen, and the disk drive light will go on
while the shape definitions are read from the file
"shapedef.mat" or "shapedef.ega". The only difference between these two
files is that some of the lines in "shapedef.ega" have different colors
to take advantage of the 16-color capability of EGA cards. "Shapedef.ega"
is the default filename for "4dega.exe", while "shapedef.mat" is the default
filename for "4d.exe"

5. After the shapes definitions have loaded, the copyright
message and the first shape, titled "4D Regular Hypercube", will appear.

6. If this shape does not appear, it is most likely because you do
not have a Color Graphics Adapter (CGA) card or an Enhanced Graphics
Adapter (EGA) in your computer.

7. You now have full simulation control of a parallel projection
into two dimensions (the display screen of your computer) of the whole
variety of regular four-dimensional shapes.

8. Most of the shapes are presented edge on. It is up to you to turn
them so that they are more interesting. Before you do this however,
you may wish to use the space bar to page through all the figures that
are currently loaded when the program runs. Here is a list of the
predefined shape titles currently included in your 4D Lab.

"4d regular hypercube"
"Rays to points of a hypercube"
"4d regular 8-cell"
"4d regular simplex"
"4d regular 16-cell diamond"
"4d regular 24-cell (unfinished)"
"part of 4d 16-cell diamond"
"8-cell missing 8 origin lines"
"single line from origin"
"two lines from origin"
"cube in 3d"
"octahedron in 3d"
"dodecahedron in 3d"
"icosahedron in 3d"
"two 3d cube 'faces' of 4d hypercube"

9. 4D Graphics Laboratory has been written so that you can install it in
any directory you want. When you first start the program, if you do
not specify a filename on the DOS command line, it looks for the file
"shapedef.mat" in the default directory. You can override this
default startup behavior simply by specifying a different filename on the
command line. If you wish, you can also specify a full DOS pathname at
this time.

10. This program is known to work well with Prokey 4.0 and Sidekick in
most DOS setups. It has been tested for the IBM PC, PC XT, and PC AT
the Color Graphics Adapter, and the PC Jr. It also works well with
the Compaq, Compaq Deskpro and Deskpro 286, and the AT&T 6300.
Release 1.0 supports the Vutek Systems EGA card, but does not support
the Hercules Monochrome card or the IBM Extended Graphics Adapter

4D Graphics Laboratory Copyright (c) 1986, 1987 George D. Girton
All Rights Reserved
12021 Wilshire Boulevard, Number 537, Los Angeles, California 90025

 December 5, 2017  Add comments

Leave a Reply