Giter Site home page Giter Site logo

throvn / sorting-visualizations Goto Github PK

View Code? Open in Web Editor NEW
38.0 2.0 0.0 47.82 MB

A website where you can watch the most satisfying sorting visuals!

Home Page: https://throvn.github.io/sorting-visualizations/

HTML 27.09% JavaScript 5.59% CSS 67.32%
algorithms sorting visualization performance blog blog-article quicksort bubble-sort heapsort insertion-sort

sorting-visualizations's Introduction

Sorting Visualizations

This is a sorting visualization of five of the most popular sorting algorithms:

  • Bubble Sort
  • Heapsort
  • Insertion sort
  • Merge sort and
  • Quicksort

Demo

You can see a Demo here

Example: Quicksort

Example Quicksort

Usage

Screenshot controls

  1. Play / Resume
  2. Pause
  3. Speed
  4. Length of (random generated) array to sort
  5. Repeat with different values (but same number of elements)

You can also hover over the elements and a description will be shown

Experiencing Problems?

If you experience any issues or miss a sorting algorithm or other functionality feel free to open an issue here.

ToDo's

  • Add more sorting algorithms
  • Add explaination (blog post like) to the algorithms (like on bubble sort)
  • Refactor code to typescript
  • Darkmode - Based on system settings
  • (Bubblesort) Highlight changed elements
  • Add documentation to the rest of the algorithms (for a reference now check the bubblesort/main.js file.) - Repetitive
  • (Maybe) Add all algorithms in one file

Want to contribute?

Every help is welcome! Feel free to contact me any time :P

sorting-visualizations's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.