Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 908 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 908 Bytes

sorting-visualizations

This Python program generates SVG sorting visualizations based on Mike Bostock's quicksort visulizations which were in turn inspired by Aldo Cortesi's sorting visualizations. This visualization differs slightly aesthetically from the other two - instead of displaying swaps with hard edges, it uses smooth curves.

The following sample output image is a visualization of sorting 80 randomly arranged items using Quicksort with the Hoare partition scheme. Each row represents the state of the array after a swap operation is performed.