Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.58 KB

README.md

File metadata and controls

34 lines (25 loc) · 1.58 KB

TIPE-2023-Crowd-Simulations

Project files of my TIPE (Personal Initiative Project) made as I was studying in CPGE (Two-year classes to prepare for the competitive exams to the french "Grandes Ecoles") from 2021 to 2023.
The project is assessed during the exams and received the grade of 13,8/20.
See (french) :

Usage

Compile

cmake .
make

Run

  • scripts/runmp4 maps/your_map N scale
  • scripts/rungif maps/your_map N scale

where N is the number of initial agents and scale is the scale of the output video relative to the map size.

Example

./runmp4 maps/simple_porte_test_obstacle.txt 100 40

Each digit represents the number of agents on the square, a red segment points toward their desired exit.

output.mp4

image

SCALE = 10

output

SCALE = 20

output

SCALE = 40

output