kecav / algo-visuals

Visually sort algorithms with Algo Visuals. Control speed and length of array and sort them. This is a fun project to try with JavaScript and canvas.

Home Page:https://kecav.github.io/algo-visuals/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ALGO VISUALS

DEMO

Algorithms added

  • Bubble Sort
  • Selection Sort
  • Insertion Sort

Array generator

    // generates random valued array
    const generateRandom = (min, max, size) => {
        let randArr = [];
        for (let i = 0; i < size; i++) {
            const el = Math.floor(Math.random() * (max - min + 1) + min);
            randArr.push(el);
        }
        return randArr;
    }

This repository is under progress

About

Visually sort algorithms with Algo Visuals. Control speed and length of array and sort them. This is a fun project to try with JavaScript and canvas.

https://kecav.github.io/algo-visuals/


Languages

Language:JavaScript 60.5%Language:CSS 22.2%Language:HTML 17.2%