On Sat, Jun 16, 2007 at 12:33:10AM -, [EMAIL PROTECTED] 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
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
[EMAIL PROTECTED] wrote:
Is
there a way to get a smoothly scaled-up image? That is, if s is sand and
w water:
www
wss
sss
I don't want the above data to turn into 10x10 blocks of sand and water,
but some kind of smooth diagonal.
You want the scale2x algorithm and its friends: