Skip to content

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"). The project is part of the competitve exam.

Notifications You must be signed in to change notification settings

louis-thevenet/TIPE-2023-Crowd-Simulations

Repository files navigation

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

About

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"). The project is part of the competitve exam.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published