Home▸Networks & Graph Theory▸Leaky Bucket Traffic Shaping: Burst Absorption, Constant Output Rate and Packet Loss (2D)

Leaky Bucket Traffic Shaping: Burst Absorption, Constant Output Rate and Packet Loss (2D)

A side view of the same leaky bucket model: the pail level, packets in flight, drops and the shaped output. Same shared simulation as the 3D scene, with live level history and the exact loss curve.

Networks & Graph Theory2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Leaky Bucket Traffic Shaping: Burst Absorption, Constant Output Rate and Packet Loss (2D) ↗ Open standalone

Feed a bursty packet source into a leaky bucket and watch the bucket smooth the traffic to a constant output rate. Change the leak rate, bucket size, mean load and burstiness to see when a burst fits in the bucket, when packets overflow and what loss is unavoidable under sustained overload. A Blender-built pail, chute and receiver rack, with numerical checks against fluid formulas and an exact Markov chain.

⚙ Under the hood

A side view of the same leaky bucket model: the pail level, packets in flight, drops and the shaped output. Same shared simulation as the 3D scene, with live level history and the exact loss curve.

Leaky BucketTraffic ShapingQueueingPacket LossNetwork Congestion

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

What did you find?

Add reproduction steps (optional)