API Rate Limiter: Token Bucket, Fixed Window and Sliding Window (2D)
A flat view of the same rate-limiter model: client, glass token-bucket gate and server with live packets, token gauge and cumulative-admitted curves for all three limiters. Same equations and numerical checks as the 3D scene.
Send one request stream through a token bucket, a fixed-window counter and a sliding-window log at the same time. Change the client rate, sustained limit, burst capacity and window length, try spikes, Poisson traffic and the window-boundary burst, and watch packets cross a Blender-built gate while the bucket fills and drains. Numerical checks verify the C + R T bound, the sliding-window invariant and the 2N boundary flaw.
A flat view of the same rate-limiter model: client, glass token-bucket gate and server with live packets, token gauge and cumulative-admitted curves for all three limiters. Same equations and numerical checks as the 3D scene.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install