home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Crawly Crypt Collection 2
/
crawlyvol2.bin
/
graphics
/
fx_bzprg
/
fx_bz.asc
next >
Wrap
Text File
|
1988-08-02
|
3KB
|
63 lines
FX_BZ - Versatile computer graphics generator.
Written by Beat Zenerino using GFA Basic all the way
and put in PD.
This program runs in low and high resolution!
When you first load the program you will see the start up screen
where you can adjust different parameters. The graphics are generated
on a second screen (a la DEGAS) and you can flip between screens by
clicking the right mouse button. Go ahead, click my day. The return
key works just the same.
The program will generate three types of graphics LINES, SQUARES
and FILLED SQUARES (Pbox), which of course are selected by clicking
on the matching field until it is highlighted (which should happen
instantly if your lucky).
All of the graphics are basically generated the same way, by
drawing figures between two selected points X1,Y1 and X2,Y2.
X1
X1 -------- Y1
/ Y1 | |
/ | |
/ | |
X2 / X2 --------
Y2 Y2
Each one of those four coordinates is incremented by a randomly
generated number until it hits the end of the screen where it turns
direction and gets a new random number. The two parameters next to
each of the coordinates (X1,Y1,X2,Y2) determine the range of the
random numbers. The first field sets to lowest number it will
generate. By adding the second field to the first you will get
the highest number generated.
i.e.: 20,30 ;This will create random numbers between 20 and 50
0,100 ; " 0 and 100
50,0 ;This is a special case, where it always is
incremented by 50
Any of the other parameters should by self explanatory (if not,
too bad). In some of the generated graphics the different graphmodes
don't seem to do anything which is quite okay because thats just how
the machine works. Following are some different settings I came up
with, but there should be hundreds, thousands?, no millions of
possibilities.
X1 ; 2, 2 ; 48, 0
Y1 ; 2, 2 ; 30, 0
X2 ; 223, 2 ; 48, 0
Y2 ; 211, 2 ; 30, 0
GRAPH ; 3, 2 ; 3, 3
TRAIL ; 13 ; 10
LINES LINES
HAVE FUN!
I can currently be reached on DELPHI as BEATZ.