This program simulates a 2-lane highway with cars and trucks, with a variety of speed settings. A traffic jam can be created by starting with a road block, located about half-way the track. When it is removed, one can see how the vehicles in front start moving while vehicles approaching the jam still have to slow down and possibly stop, until the jam eventually dissolves.

There are a few other things to play with, like adding speeders and slow pokes, and allowing vehicles to pass only on the left or both on the left and on the right.

Many more features could be added. The source code is available on github. If you create a new version and would like to share it with this site, please contact