Skip to content

Epidemic Simulation is my final year master's project that aims to provide an interactive and educational tool for simulating the spread of a virus in a 2D plane.

Notifications You must be signed in to change notification settings

NacerKROUDIR/Epidemic_Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Epidemic_Simulation

Epidemic Simulation is an open-source project that aims to provide an interactive and educational tool for simulating the spread of a virus in a 2D plane. The project utilizes various parameters such as transmission rate, infection period, and recovery rate to generate different scenarios of an epidemic. The simulation tool is designed to visualize the epidemic in real-time, enabling users to observe the spread of the virus and the impact of various interventions such as quarantine, social distancing, and vaccination. The project aims to educate users about the importance of public health measures and the impact of individual behavior on the spread of an epidemic. Epidemic Simulation is built using Python and is available on GitHub for anyone to use, modify, and contribute to.

Requirements:

The following packages must be installed to use this repository:

  • Matplotlib: This package is used for creating static, animated, and interactive visualizations in Python.
  • NumPy: This package is used for scientific computing in Python. It provides a powerful array data structure and various mathematical operations on arrays.
  • Pygame: This package is a set of Python modules used for creating games and multimedia applications.
  • Pymunk: This package is a physics engine for Python. It provides an interface for creating rigid body dynamics simulations.

To install these packages, use the following commands in your terminal:

pip install matplotlib
pip install numpy
pip install pygame
pip install pymunk

Alternatively, you can install all of the required packages at once by running the following command in your terminal:

pip install -r requirements.txt

How to Use

To use this repository, follow these steps:

  • Ensure that you have installed all of the required packages, as listed in the Requirements section.
  • Clone the repository to your local machine using git clone.
  • Navigate to the root directory of the repository in your terminal.
  • Run the main.py file using the following command:
python main.py

This will run the program and open the main window. You can interact with the program using your mouse and keyboard.

  • When you are finished, you can close the main window or press Ctrl + C in your terminal to stop the program.

About

Epidemic Simulation is my final year master's project that aims to provide an interactive and educational tool for simulating the spread of a virus in a 2D plane.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages