Generates a random city, with buildings trees and random terrain.
Press W,A,S,D, Up, Down, Left, Right to move the camera focus.
The camera is looking at the red line on the Z axis. Press Q to toggle.
Press E to toggle between 3D map, 2D map, 2D noise height map, and 2D population density noise map.
Press G to generate a new map
Click and drag to move the camera, mouse wheel to zoom in.
There are some parameters to play with in mapBuilding.pde
:
// Settings
int maxBuildings = 150;
int maxTrees = 75;
int mapHeightScale = 25*cellScale;