Skip to content

Interactive web-based visualizer for various sorting algorithms like Bubble Sort, Merge Sort, Quick Sort, and more. Watch how different algorithms work step-by-step with animations and real-time comparisons.

Notifications You must be signed in to change notification settings

KaderCh/Sortify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Sortify: Interactive Sorting Algorithm Visualizer 🌟

Sortify GitHub Release

Welcome to Sortify, an interactive web-based visualizer that brings sorting algorithms to life. This tool allows you to watch how various algorithms, such as Bubble Sort, Merge Sort, Quick Sort, and more, work step-by-step with animations and real-time comparisons.

Table of Contents

Features

  • Interactive Visualizations: See sorting algorithms in action.
  • Step-by-Step Animation: Watch each step of the sorting process.
  • Real-Time Comparisons: Compare the efficiency of different algorithms.
  • User-Friendly Interface: Easy to navigate and understand.

Getting Started

To get started with Sortify, you can download the latest release from our Releases section. After downloading, follow the instructions to set it up on your local machine.

Prerequisites

  • A modern web browser (Chrome, Firefox, Safari, etc.)
  • Basic understanding of sorting algorithms (optional)

Installation

  1. Download the latest release from the Releases section.
  2. Extract the downloaded file.
  3. Open the index.html file in your web browser.

How to Use

Using Sortify is simple. Follow these steps:

  1. Select an Algorithm: Choose from a variety of sorting algorithms available in the dropdown menu.
  2. Set Parameters: Adjust the array size and speed of sorting.
  3. Click Start: Hit the start button to see the sorting in action.
  4. Observe: Watch how the algorithm sorts the array step-by-step.

Sorting Algorithms

Sortify visualizes a variety of sorting algorithms. Here’s a brief overview of each:

Bubble Sort

Bubble Sort is a simple algorithm that repeatedly steps through the list, compares adjacent elements, and swaps them if they are in the wrong order. This process repeats until the list is sorted.

Insertion Sort

Insertion Sort builds the final sorted array one item at a time. It takes each element from the input data and finds the appropriate location within the sorted part of the array.

Merge Sort

Merge Sort is a divide-and-conquer algorithm. It divides the unsorted list into two halves, sorts them, and then merges them back together.

Quick Sort

Quick Sort is another divide-and-conquer algorithm. It selects a 'pivot' element from the array and partitions the other elements into two sub-arrays, according to whether they are less than or greater than the pivot.

Radix Sort

Radix Sort processes the digits of the numbers from the least significant to the most significant. It uses counting sort as a subroutine to sort.

Selection Sort

Selection Sort divides the input list into two parts: the sorted part and the unsorted part. It repeatedly selects the smallest (or largest) element from the unsorted part and moves it to the sorted part.

Technologies Used

Sortify uses a combination of technologies to provide a seamless experience:

  • HTML5: For structuring the web pages.
  • CSS3: For styling the application.
  • JavaScript: For implementing the sorting algorithms and animations.
  • Canvas API: For rendering the visualizations.

Contributing

We welcome contributions to Sortify! If you would like to help improve this project, please follow these steps:

  1. Fork the Repository: Create a copy of the repository on your GitHub account.
  2. Create a Branch: Use a descriptive name for your branch (e.g., feature/add-new-algorithm).
  3. Make Changes: Implement your changes and test them thoroughly.
  4. Submit a Pull Request: Share your changes with us for review.

License

Sortify is open-source and available under the MIT License. Feel free to use, modify, and distribute this project as you see fit.

Links

For the latest updates and releases, visit our Releases section.

Sorting Visualization

Thank you for checking out Sortify! Enjoy exploring the fascinating world of sorting algorithms.

About

Interactive web-based visualizer for various sorting algorithms like Bubble Sort, Merge Sort, Quick Sort, and more. Watch how different algorithms work step-by-step with animations and real-time comparisons.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •