GAMES\FERN.DOC ·
DOC ·
1.7 KB ·
1989-01-14 ·
from PCPlus_Issue-38_Nov-1989_FluxEngine-360Kb
FERN.COM
--------
By S.Booth (c) 1989
Syntax : FERN [B]
This program displays a picture of a fern on the graphics screen and
does this by using a method known as Iterated Function Systems which are
a kind of fractal geometry.
The remarkable thing about the example shown is that the fern shown
is built up from a set of only 28 numbers, plus a few extra to place the
picture on the screen at the right place and in the right scale.
The IFS method mentioned above is a way if taking a shape, working
out a set of numbers for reproducing it, and throwing away the original
data. The resulting numbers when passed through the IFS algorithm
produce a close approximation of the original.
Key functions
-------------
+ zooms in on the fern.
- zooms out of the fern.
<Up arrow> moves the fern up.
<Down arrow> moves the fern down.
<Left arrow> moves the fern left.
<Right arrow> moves the fern right.
S will start over again.
Q will exit the program.
Any other key will re-draw the image from the beginning.
Note : The higher the zoom factor the longer it takes to create anything
recognizable. At a zoom of 16 it takes about 3 hours on a 1512
to produce a good image as opposed to around 3 minutes for the
same quality on the default values.
Resolution is vastly better in black & white, if you wish to run the
program in black & white enter FERN B at dos as the program defaults to
colour.