Skip to content

An Ecosystem simulation I build for my A-Level Computer Science NEA - GRADE: 99%

License

Notifications You must be signed in to change notification settings

edf1101/Ecosystem-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ecosystem-Simulation

Screenshot 2023-08-07 at 10 56 45

This was my Computer Science A Level NEA. (Note this isnt the final version I submitted as I did a lot of refactoring and code cleanup, though the functionality is the same) I created a 200m*200m map featuring multiple biomes, terrain types and water features in a procedurally generated low poly map using:

  • Poisson Disk sampling
  • Delaunay Triangulation
  • Perlin noise
  • Floodfill algorithms

Multiple species of animals are then spawned in and populate the map. The animals are all capable of:

  • Eating
  • Drinking
  • Hunting
  • Avoiding predators
  • Reproducing

Data is saved along the course of the simulation and can be viewed at the end in a graph viewer or exported to a .csv file