Skip to content

michellewli/random-walk-of-larvae

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Locomotion Simulation of Fruit Fly Larvae Using Random Walk

Project Overview

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.

Installation

To run the larva simulation, you'll need to have Python installed on your system. Follow the steps below to set up the project:

  1. Clone the repository:

    git clone https://github.com/yourusername/random-walk-of-larvae.git
    cd random-walk-of-larvae
  2. Create a virtual environment:

  • Using venv (Unix/macOS):

    python3 -m venv venv
    source venv/bin/activate
    
  • Using virtualenv (Windows):

    virtualenv venv
    .\venv\Scripts\activate
    
  1. Install dependencies:
    pip install -r requirements.txt
    

Usage

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

About

Random walk simulation of fruit fly larvae.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages