Home▸Networks & Graph Theory▸TCP Congestion Window Sawtooth (2D)

🌐 TCP Congestion Window Sawtooth (2D)

2D Canvas simulation of TCP congestion control: watch cwnd grow through slow start and congestion avoidance, then collapse on packet loss, drawing the classic AIMD sawtooth over time.

Networks & Graph Theory2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-tcp-congestion ↗ Open standalone
⚙ Under the hood

Watch a real TCP congestion window climb through slow start and congestion avoidance, then get cut by multiplicative decrease when a packet is lost. Switch between Reno and Tahoe, tune loss probability and initial ssthresh, and trigger a loss manually to see the classic AIMD sawtooth graph unfold RTT by RTT.

networkingtcpcongestion-controlaimdalgorithms

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

What did you find?

Add reproduction steps (optional)