Debounce vs throttle, visualised
A small interactive that shows both strategies reacting to the same stream of events.
- source
- Own idea
- tags
- JavaScript · events · UI
What it will show
Move the pointer across a strip. Three rows draw the events: the raw stream, the debounced output, and the throttled one. Sliders change the wait time and switch leading and trailing edges.
Why
Both words get used for each other in code review. Seeing the two rows side by side settles it faster than a definition.
Status
Idea stage: no build yet.