soft1901 assignment :: home > graphical user interface

Graphical User Interface

The graphical user interface (GUI) consists of three main sections:

  • 3D renderer
  • 2D renderer, together with user interface elements for controlling the simulation
  • Graph of living and dead life forms

3D Renderer and its Components

2D Renderer

XY, XZ and ZY views: The 2D renderer can be viewed from 3 different directions.

Create panel: Additional life forms can be added to the system as needed, for example, to balance the ecosystem when it becomes depleted of one type of life form.

Kill panel: Life forms can be removed from the system as needed.

Save to file and Load from File: The state of the simulation can be saved into a file and reloaded.

Reset: The simulation can be reset using its initial parameters.

Reset from file: The simulation can be reset using a new set of parameters stored in a configuration file.

Pause/Resume: The simulation can be paused and resumed, to allow for analysis of output and for taking of screen captures.

Graph

The graph shows a line graph representing living and dead animals over a period of time, allowing for trends to be seen.