This project consists of a simulation of the traffic of an Avenue, with the objective of finding a proposal to make the traffic more efficient. This simulation has two parts: the computational graphics and the multiagents part. The graphics part was done using the Three.js library and the multiagents part to simulate the way the cars and traffic lights acted and interacted with each other was done using the Agentpy library.
- Marisol Melendres
- Roberto Lopez
- Samuel Diaz
- Leonardo Galindo
- Ulises Venegas
To clone and run this application, you'll need Git, Python3 and pip installed on your computer.
You will also need to install Visual Studio Code with the Live Server extension.
From your command line:
# Clone this repository
$ git clone https://github.com/samueldiaz1004/RetoGraficas.git
# Go into the repository
$ cd RetoGraficas
# Install dependencies
$ pip install agentpy
# Run the python script and wait until it is finished
$ py finalsimulation.py
Finally you can run the live server and open the index.html file in your web browser.
This software uses the following packages: