Home▸Cybersecurity▸Network Packet Routing: Dijkstra Paths, M/M/1 Queues and Optimal Multipath Delay (2D)

Network Packet Routing: Dijkstra Paths, M/M/1 Queues and Optimal Multipath Delay (2D)

The same network as a flat picture built from Blender-rendered sprites: routers, cables tinted by utilisation, packets riding the chosen routes and queues at the link outputs, with charts of delay against load for every routing method and of link utilisation. Same controls and checks as the 3D version.

Cybersecurity2DAdvanced60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Network Packet Routing: Dijkstra Paths, M/M/1 Queues and Optimal Multipath Delay (2D) ↗ Open standalone

Nine routers and sixteen full-duplex links carry one stream of packets from a source to a destination. Choose fewest-hop, static OSPF-cost, lowest-delay or the optimal multipath routing, cut any cable, change the load and the background traffic, and watch the packets take their routes. Every link direction is an M/M/1 queue, so the delay per hop is propagation plus L/(C - f) and the cubes standing at the link outputs are the queue. Shortest paths come from Dijkstra's algorithm, the optimum from gradient projection on path flows, and the largest deliverable rate from Edmonds-Karp max-flow. Nine checks compare Dijkstra with Bellman-Ford, Floyd-Warshall and brute-force path enumeration, max-flow with the minimum cut, a discrete-event queue simulation with 1/(1 - rho) and Little's law, the Kleinrock-Gallager optimality condition, the closed-form square-root capacity rule and thousands of random re-routings. The board, routers, cables, packets and sign are Blender models. Educational model: Poisson traffic, independent queues, no TCP, instantaneous route changes.

⚙ Under the hood

The same network as a flat picture built from Blender-rendered sprites: routers, cables tinted by utilisation, packets riding the chosen routes and queues at the link outputs, with charts of delay against load for every routing method and of link utilisation. Same controls and checks as the 3D version.

NetworkingRoutingDijkstraOSPFQueueing TheoryM/M/1Little's LawMax-Flow Min-CutCongestionGraph Algorithms

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)