Skip to content

mihir262/sorting-visualiser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sorting Visualiser

A simple C + raylib app that visualizes sorting bars and swap operations.

Build and run

make
make run

Controls

  • 1 Bubble sort
  • 2 Insertion sort
  • 3 Selection sort
  • 4 Quick sort
  • 5 Merge sort
  • 6 Counting sort
  • SPACE Start sorting animation
  • R Reshuffle bars

Notes

  • Rendering runs at 60 FPS.
  • Swap animation speed is controlled by swapDelaySeconds in main.c.

About

using C and raylib to visually represent sorting algorithms and their time complexity

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors