This program generates a random terrain using the Diamond/Square method. It then displays the terrain, with green and white being above sea level, and blue below. Lighter areas are higher altitude. You can drag the map with the left mouse button. The middle mouse button (or both buttons at the same time on two-button mice) will zoom in, and a right click will zoom out. You can also use the "+" key to zoom in and "-" to zoom out. Pressing the space bar will generate a new random terrain.

This browser does not have a Java Plug-in.
Get the latest Java Plug-in here.


Built with Processing

Code This app's code is WAY too long to include here, so I've linked to it instead.