Discord
@hash/traffic-basic
Simulation
24
0
Public

Traffic - Basic

This model simulates the movement of cars on a one lane road, or more specifically, how traffic jams can form without an accident occurring.

This model simulates the movement of cars on a one lane road, or more specifically, how traffic jams can form without an accident occurring.

The car agents follow two rules: accelerate when there are no cars a certain distance ahead of it and decelerate when there is a car close ahead.

This demo is based on a NetLogo simulation of the same name. (Source)