home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
231.lha
/
Terrain.Poster
< prev
next >
Wrap
Internet Message Format
|
1989-04-08
|
981b
From: dillon@POSTGRES.BERKELEY.EDU (Matt Dillon)
Newsgroups: comp.sys.amiga
Subject: TERRAIN.UUE
Message-ID: <8903211011.AA26856@postgres.Berkeley.EDU>
Date: 21 Mar 89 10:11:01 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Lines: 282
Posted: Tue Mar 21 02:11:01 1989
Have fun...
1> terrain [power [seed]]
default power is 6 (2^6 = 64x64 grid)
default seed is time(0L) (essentially random)
^C or BREAK the CLI, or ^C/ESC in the screen to kill
note: people w/ 512K amiga's can barely do a power of 7 max.
technical:
This is a fractal terrain generator. The generator uses a stateless
binary subdivision method. That is, there is very little static state. This
is accomplished by using guarenteed non-randomness for a specific point...
That is, after generating an initial seed, the random number generated for a
specific point is always the same for that point. This is required for
continuity as edge overlap is the basis of the binary subdivision method.
-Matt