[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Smooth Scaling for Terrain Generation



On Sat, Jun 16, 2007 at 12:33:10AM -0000, kschnee@xxxxxxxxxx wrote:
> I fiddled with a different terrain generation algorithm, this one based on
> using Pygame to do something like Conway's Game of Life. That is, I draw
> some random shapes of "grass" on "water" on a 100x100 image, then iterate
> each pixel through a Life-like process to build a grass/sand/water map.
> The results look OK, and I was thinking it was reasonably simple and
> fast... but it assumes a 100x100 image. My program uses 1000x1000 zones.
...
> I'd also be open to different ways to generate terrain entirely.

Check out http://freespace.virgin.net/hugo.elias/models/m_perlin.htm

Marius Gedminas
-- 
Si fractum non sit, noli id reficere.

Attachment: signature.asc
Description: Digital signature