Thanks to visit codestin.com
Credit goes to github.com

Skip to content

A dynamic algorithm visualization tool built with Raylib. Animates various algorithms with essential information to enhance understanding and analysis.

License

Notifications You must be signed in to change notification settings

C-JeanDev/AlgoVisualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AlgoVisualizer

RayAlgoViz is an interactive sorting algorithm visualizer built with Raylib. It animates various sorting algorithms and provides useful insights such as execution time, number of comparisons, and assignation/swaps performed.

✨ Features

  • Visualization of sorting algorithms:

    • Bubble Sort
    • Selection Sort
    • Insertion Sort
    • Merge Sort
    • Quick Sort
  • Real-time display of:

    • Number of comparisons
    • Number of assignation/swaps
  • Simple and intuitive interface with Raylib

  • Makefile support for easy compilation and execution

🛠 Requirements

  • Raylib (latest version recommended)
  • C/C++ Compiler (GCC, Clang, MinGW, etc.)
  • Make (to use the Makefile)

🚀 Installation & Execution

  1. Clone the repository:
    git clone https://github.com/C-JeanDev/RayAlgoViz.git
    cd AlgoVisualizer
  2. Makefile:
    make clean && make && ./algo.out
    

📸 Screenshots

Screenshot from 2025-03-24 13-49-51 Screenshot from 2025-03-24 13-52-14 Screenshot from 2025-03-24 13-54-17

💡 Future Implementations

  • Quick Sort Algorithm
  • Red rectangles when accessed and/or compared

🏗 Project Structure

    AlgoVisualizer/
    │── include/            # Header and utility files
    │   ├── button.c        # Button implementation
    │   ├── button.h        # Button header
    │   ├── rect.c          # Rectangle implementation
    │   ├── rect.h          # Rectangle header
    │   ├── vector.c        # Vector implementation
    │   ├── vector.h        # Vector header
    │── src/                # Source code
    │   ├── main.c          # Main file
    │── LICENSE.txt         # License file
    │── Makefile            # Build file
    │── README.md           # Documentation

About

A dynamic algorithm visualization tool built with Raylib. Animates various algorithms with essential information to enhance understanding and analysis.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published