Skip to content

Interactive visualization of the Selection Sort algorithm with integrated visual tests, designed for Replit.

Notifications You must be signed in to change notification settings

itkrivoshei/SelectionSortAndVisualizer

Repository files navigation

🔍 SelectionSortVisualizer

A fun and interactive way to learn Selection Sort with visual tests and an engaging visualizer, all set up for seamless use on Replit.

🌐 Live Demo

Experience the live demo on Replit: Selection Sort Visualizer

🎨 Features

  • Visual Representation: Watch the Selection Sort algorithm in action.
  • Integrated Tests: Run visual tests to see the sorting algorithm’s correctness.
  • Dracula Theme: Enjoy a visually appealing color palette.
  • Fullscreen Mode: Optimize your viewing experience with fullscreen visualization.

📁 Files Overview

main.py

The main driver file. It initializes the GUI and provides options to test or visualize the selection sort algorithm using matplotlib.

selection_sort.py

Contains the core logic of the selection sort algorithm.

test_selection_sort.py

Includes tests for the selection sort algorithm and visualizes the test results using matplotlib.

visual_selection_sort.py

Brings the selection sort algorithm to life with a dynamic visualization using tkinter.

🚀 How to Run

  1. Visit the Replit link.
  2. Click the Run button to start the visualizer.

🤝 Contributing

We welcome all contributions! Fork the project, create a new branch, and submit a pull request to help us improve.

📜 License

This project is open-source and available under the MIT License. Feel free to use and modify the code as needed.