Terrain Generator: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
==Implementation==
==Implementation==
The tool will be written in Java, allowing anyone to run it as long as they have a copy of [Java|http://developers.sun.com/downloads/].
The tool will be written in Java, allowing anyone to run it as long as they have a copy of [Java|http://developers.sun.com/downloads/].
==Stories==
===Generation of Terrain===
# User specifies min elevation
# User specifies Max elevation
# User specifies x,y
# Clicks OK
# Map generated
# Clicks save
# Dialog opens and user can save as png file

Revision as of 01:48, 9 January 2010

Model

Let M be an x by y terrain map.

Any two adjacent points (x_1, y_1) and (x_2, y_2) may differ in elevation by a max of (max_elevation - min_elevation).

Implementation

The tool will be written in Java, allowing anyone to run it as long as they have a copy of [Java|http://developers.sun.com/downloads/].

Stories

Generation of Terrain

  1. User specifies min elevation
  2. User specifies Max elevation
  3. User specifies x,y
  4. Clicks OK
  5. Map generated
  6. Clicks save
  7. Dialog opens and user can save as png file