home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GEMini Atari
/
GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso
/
files
/
tt
/
fernprnt
/
fractal2
(
.txt
)
< prev
Wrap
Text File
|
1991-10-28
|
3KB
|
59 lines
This program is a simple fractal manipulator using the formulas
for various known types of fractals. There is a theory that all
complicated designs can be broken down into simple formulas that, when
put through a generation scheme can regenerate the original design.
While this might be true, it is quite difficult to generate the
formulas. I will not go into the mathematics of these three fractals
or how the formulas were generated, but will allow you to just play
with them.
There are three types of figures here, labelled fern, triangle,
and tree. The formulas for them can be seen when you pick on of these
objects. A random number between 0.0 and 1.0 is generated and it is
used to determine which line of the formula is to be used. Subtle
changes in the formula allows for significant changes in the actual
figure.
Essentially, you start the program, and pick one of the figures
that you want. Any time you hit a key, the fractal choice dialog box
appears allowing you to choose another fractal, quit, or change the
numbers that are used to generate the fractal. Click on OK, and the
fractal will be generated. If you press the 'S' key for "size", then
you change the parameters used for the figure. The same values will
be used, but you can 'magnify' the picture in either directions, as
well as centering the picture better. Thus if you want to make the
fractal twice as wide, double the 'X' value. Twice as long will occur
if you double the 'Y' value. You can center the fractal by changing
the offset.
This program runs on the medium TT resolution and uses the
floating point chip if it is available.
This program can be distributed as you wish, so long as all the
files are kept together.
Sol Guber
Fonts by Guber
Desktop Publishing Tools
October 28, 1991
This version does one more thing, when the "P" is pressed. It
will print the fractal on your printer. This is NOT a screen dump, but
an actual printing of your fractal at the maximum resolution that the
printer can accomplish. For a laser printer, this can be up to 300
dots per inch. There are three things that are needed to use this
program, a version of GDOS, a proper GDOS printer for your printer, and
a printer. It will check for the presence of GDOS, but will not check
for the other two items, or for your printer being on. To work
properly, the printer must be item 21 in your ASSIGN.SYS file that the
GDOS uses during initiation.
To use the program to its best advantage, select the fractal and
the magnification that you want. Let the program run for several
minutes to generate enough points to make a dark print. Then press "P"
and after several seconds the information will be sent to your printer.
For a laser printer, it may take several minutes to send sufficient
information to the printer.
After the printer is finished, then you can make other selections
or quit the program.
I hope that you enjoy this program. It is the first in a series
of mathematical programs to show off your printer, and the ATARI
system,
Sol Guber