Skip to content

🔥🌲Forest fire simulation through a Cellular Automata. Group assignment for Bio-Inspired Computing module at university.

License

Notifications You must be signed in to change notification settings

borjadotai/Firestorm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CAPyLE

CAPyLE is a cross-platform teaching tool designed and built as part of a final year computer science project. It aims to aid the teaching of cellular automata and how they can be used to model natural systems.

It is written completely in python with minimal dependencies.

CAPyLE Screenshot on macOS

Installation

The installation guide can be found on the CAPyLE webpages

Usage

Detailed usage can be found on the CAPyLE webpages.

See below for a quickstart guide:

  1. git clone https://github.com/pjworsley/capyle.git [target-directory]
  2. cd [target-directory]
  3. Execute main.py either by:
    • run.bat / run.sh
    • python main.py
  4. Use the menu bar to select File -> Open. This will open in the folder ./ca_descriptions.
  5. Open one of the example files;
  • wolframs_1d.py is Wolfram's elementary 1D automata
  • gol_2d.py is Conway's 2D game of life
  1. The main GUI elements will now load, feel free to customise the CA parameters on the left hand panel
  2. Run the CA with your parameters by clicking the bottom left button 'Apply configuration & run CA'
  3. The progress bar will appear as the CA is run
  4. After the CA has been run, use the playback controls at the top and the slider at the bottom to run through the simulation.
  5. You may save an image of the currently displayed output using the 'Take screenshot' button

Acknowledgements

Special thanks to Dr Dawn Walker for proposing and supervising this project.

Also thanks to the COM2005 2016/2017 cohort for being the guinea-pigs!

Licence

CAPyLE is licensed under a BSD licence, the terms of which can be found in the LICENCE file.

Copyright 2017 Peter Worsley

About

🔥🌲Forest fire simulation through a Cellular Automata. Group assignment for Bio-Inspired Computing module at university.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published