Quicksort VI
✓ Published0🌍 Public
Mmbostock
Last edited Feb 9, 2016
Created on Jun 3, 2014
An animated quicksort network visualizes the sorting process of 100 shuffled values, with time progressing on the vertical axis and each swap rendered as a colored path. The value-to-color mapping uses a cubehelix color scale. The animation is drawn on a Canvas via `d3.transition` and custom tweening, while a precomputed list of swaps drives the sequence. Pressing the Alt key slows the animation. The implementation uses d3.v3, including ordinal and linear scales, and a custom `quicksort` function to generate swap pairs.
AI-generated descriptionAn animated version of the quicksort network. Time progresses with each swap.
gpl-3.0 Licensed