Skip to content

jamylak/sortingalgos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SortViz C

This visualisation uses AI Generated code, finetuned for the best visualisation, not code quality

sortingalgos.mov

Interactive C + Raylib sorting visualizer for comparing several classic algorithms with guided mode, event breakpoints, metric panels, and motion trails.

What This Visualisation Shows

  • How different sorting algorithms transform the same dataset
  • How swaps, writes, partitions, gaps, and passes differ across algorithms
  • How guided mode exposes milestone events instead of only raw animation
  • Several visual panels for array state, element motion, operation streams, and metrics

Visual Map

flowchart LR
    A["Dataset"]
    B["Choose Sorting Algorithm"]
    C["Compare / Swap / Write Events"]
    D["Array Reorders"]
    E["Metrics + Guided Milestones"]
    F["Sorted Output"]

    A --> B
    B --> C
    C --> D
    D --> E
    E --> F
Loading

Controls

  • q: quit
  • 1..6: select algorithm
  • space: pause or resume
  • n: single-step
  • r: regenerate the current dataset
  • d, g, b, t, and arrow-key controls are shown in the app HUD

Run

make run

About

Sorting Algorithm Visualiser

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors