This simulation is designed to model the random walk of fruit fly, or Drosophila, larvae. This simulates a user-determined number of larvae wandering around on a 2-D surface without any external stimuli.
To run the larva simulation, you'll need to have Python installed on your system. Follow the steps below to set up the project:
-
Clone the repository:
git clone https://github.com/yourusername/random-walk-of-larvae.git cd random-walk-of-larvae
-
Create a virtual environment:
-
Using
venv
(Unix/macOS):python3 -m venv venv source venv/bin/activate
-
Using
virtualenv
(Windows):virtualenv venv .\venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
To start the simulation, run the following command:
python src/multi_simulator.py
To run multiple simulations, run the following command:
python src/run_simulations.py