Sorting Algorithms

Using visualisation to explore different sorting algorithms.

  • Published:
  • Tags: Software engineering, Visualisation
  • Reading time: less than a minute

This project is built with Svelte and TypeScript . The sorting algorithms use nested generator functions to manage the execution of logic, capture algorithm output and visualise this via HTML canvas .

Tip: Try adjusting this while the algorithms are running.

Bubble

  • Iterations: 0
  • Operations: 0
  • Comparisons: 0

Cocktail

  • Iterations: 0
  • Operations: 0
  • Comparisons: 0

Insertion

  • Iterations: 0
  • Operations: 0
  • Comparisons: 0

Odd-Even

  • Iterations: 0
  • Operations: 0
  • Comparisons: 0

Quick

  • Iterations: 0
  • Operations: 0
  • Comparisons: 0

Selection

  • Iterations: 0
  • Operations: 0
  • Comparisons: 0