Tuesday, February 17, 2015

Computer Generated Maps

Boids n Buildings isn't really a computer generated map - it is more of a computer generated city. The application throws a little WebGL magic on top of mrdoobs’ procedural city generator to create a random city complete with 3d buildings and flocks of birds.

The initial city map works by generating a road with other roads then being generated along its length. Each road stops being drawn when it reaches another road or reaches the map boundary. The buildings are then created by extruding the created areas between the roads. You can find out more about how Birds n Buildings works on this Making Of post.

No comments: