home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Kids Cube
/
1_Art.iso
/
life17
/
life.doc
< prev
next >
Wrap
Text File
|
1993-01-14
|
3KB
|
53 lines
LIFE-PIX, Copyright PC Solutions 1992.
2D LIFE patterns are a novel way of generating graphical
patterns. You don't really need to understand the maths to use
it - just experiment with seed-values - however, for the brave (!),
here is an example:-
0213011210230120... Generation 1 (640 colour pixels..)
36442443355433.... & then apply RULES (ie. 012301230123)
32002003311033... Generation 2
The numbers above are displayed as coloured pixels, using the
standard EGA/VGA palette (offset with the Start Colour). The
computer generates 640 numbers between 0 & 3 for the 1st
generation. To generate each pixel in the next row, add together
the three immediatly above, and use that value to look-up a RULES
table (also randomly generated).
The above example uses 4 colours (0 to 3) - this can be changed
by altering the # Colours parameter. The FX parameter also changes
the way the cells behave. If all this is confusing, just experiment
with different Random-Seed values. If you don't like a pattern, you
may hit ESC to abort it early, or RETURN to try another..
HINTS:- When exploring patterns, it is best to start up by hitting
SPACE, and then call up new seeds by hitting RETURN until something
interesting happens. If you then abort back to the menu with ESC, you
can try different parameters with that seed - for example hit F4 to
select different subtle effects, or F2 to select start color offset
in palette (the default EGA/VGA 16 colour palette is used). You can
change the range of colours used with F1, although this usually
radically changes the pattern. Generally the bigger colour ranges
generate fewer interesting patterns - 4 is optimum.
While CGA mode is supported, you get by far the best results with
EGA or VGA colour.
This version of LIFE-PIX is released as shareware. You may distribute
it as long as you don't charge more than a small disk-copying fee for it,
or alter it in any way.
PC SOLUTIONS holds all rights to this program, and we reserve the right
to withdraw permission to use or distribute this program from any individual
or organisation, if we feel they are abusing this privilege.
People often ask how we generate such small, fast programs - well special
thanks must go to Borland and thier excellent Turbo-C compiler - this can
generate much, much faster/smaller code than, say, Quickbasic. Forget the
rest, Turbo-C is the best! Contact Borland on Freephone 0800 212727
(or 0734 321150) for futher info. You will find some of our own special
C-Tools for Turbo-C on our Util-Pack..
If you like LIFEPIX you should register by buying one of our packs
- if you get UTIL-PACK-1, you will find the latest version of LIFEPIX,
with save screen option, a sample C-source code for you to experiment
with, and futher details on how LIFE-PIX works. Remember I don't see
any of the cash you may have paid to buy this disk or magazine, so I
rely on YOU! All comments on LIFEPIX welcome... Enjoy!