Coder Social home page Coder Social logo

satyamkumarnavneet / sorting-algorithms-visualizer Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 24.69 MB

The Sorting Visualizer project aims to develop a responsive web platform that visually represents various sorting algorithms, including Bubble Sort, Selection Sort, and Merge Sort. The platform will feature a box or bar graph displaying unsorted data that users can sort using different algorithms.

Home Page: https://satyamkn-sortingvisualizer.netlify.app/

License: MIT License

HTML 1.10% JavaScript 97.56% CSS 1.34%

sorting-algorithms-visualizer's Introduction

Sorting-Algorithms-Visualizer

The Sorting Visualizer project aims to develop a responsive web platform that visually represents various sorting algorithms, including Bubble Sort, Selection Sort, and Merge Sort. The platform will feature a box or bar graph displaying unsorted data that users can sort using different algorithms.

Key Benefits

  • Gain a deeper understanding of sorting algorithms.
  • Track the total number of swaps required during sorting.
  • Monitor the total number of comparisons made.
  • Compare different algorithms side by side.
  • Approximate the time taken for sorting (time is used for comparison purposes only).

Features

  • Sort any given array of positive integers consisting of three digits.
  • Adjust the speed of execution according to your preference.
  • Start, pause, and reset the execution as needed.
  • Generate a random array of numbers for sorting.

Technologies Used

  • React with hooks for the user interface.
  • Styled components and React Material for CSS styling and pre-built components.
  • Zustand, a hooks-based state management library.
  • Vite as the bundler.

Implementation Details

  • Animations are implemented using pure CSS and follow the FLIP principle.
  • Flex is utilized for array display and manipulation of positions, leveraging the flex order property.
  • JavaScript async generators are heavily used to control the execution of algorithms.

Running the Application Locally

  1. Clone the repository: git clone https://github.com/Satyamkumarnavneet/Sorting-Algorithms-Visualizer.git
  2. Navigate to the project directory: cd sorting-visualizer
  3. Install dependencies: npm install
  4. Run the development server: npm run dev

sorting-algorithms-visualizer's People

Contributors

satyamkumarnavneet avatar

Stargazers

 avatar ليزبيث هالا  avatar

Watchers

Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.