Graph Animation

Graph Animation
This is another example of using Processing to create animations. The GraphAnimation program demonstrates packet forwarding by flooding. A packet sent by node A is replicated by every node (router) it reaches and sent in all connected links until it reaches the destination node N. Knowing the shortest route, node N replies with a unicast ...

Vehicles communication and the mysterious traffic jams

Vehicles communication and the mysterious traffic jams
Have you been stuck in traffic driving a car at the speed of a few meters per hour only to emerge from the traffic jam a while later not certain what caused it in the first place? Traffic experts are likely to attribute the cause to a road construction, a vehicle collision, or any other ...

JSim – Queue Simulator

JSim - Queue Simulator
JSim is a Java-based discrete event simulator of an M/M/s queue system. The source includes a library of classes that can be used to modify the application to simulate other types of queue systems as well. JSim source files can be downloaded from https://sourceforge.net/projects/jsim/. A brief description of the main classes and function can be found ...

Processing Game

Processing Game
Thomas Schelling showed, in 1971, that a small preference for one’s neighbors to be of the same race could lead to total segregation. This model is used as an example to show how such individual behaviour can bring about such undesirable social conventions without the need for evil master plan [1]. The model can be ...