Skip to content

VaruTudor/AlgorithmVisualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Algorithm Visualizer

The goal of this project was to develop an application for a wide range of users within the educational system that would use algorithm visualization to assist them in learning, understanding, observing, and even teaching.

Tools and Pre-requisites

  • WebStorm (or any preferred editor)
  • Node.js
  • Typescript
  • Nx Workspace
  • Angular CLI

  • npm install will create node modules
  • nx serve algorithm-visualizer will start the application
  • consult Nx CLI for other commands

Architecture

The application contains 3 main sections for algorithm visualization: searching, sorting and pathfinding. All follow almost identical mechanisms when it comes to structure, performance and mechanics. Behind the scenes, there are arrays of user-defined objects which represent elements of the visualization. Those objects have specific properties such as size or color.
There is a direct mapping between those classes and the components in the way that they share identical properties. Using Angular @Input the array of objects gives the values for the components used for display. Finally those components are rendered in the DOM. The animations are created within each algorithm's block of code and are handled using delayed code execution methods.

Searching

image

Sorting

image

Pathfinding

image

Demo

This is the home page of the application. The user can select click one button in order to move to a specific category of algorithms. image

After selection, the user is moved to an algorithm visualization page which allows for configuration. image

Searching

image

image

Sorting

image

image

image

Pathfinding

image

image

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published