GithubHelp home page GithubHelp logo

pathvisualizer's Introduction

Algorithm-Visualizer

A web application to visualize various pathfinding algorithms on a Grid

Check the website here :- https://pathfinding-visualizer-iitg.herokuapp.com/

Screenshots

Installation

Cloning the repository:

Clone the repository using git clone https://github.com/vineet140502/algorithmvisualizer.git

Installing dependencies:

Run npm install

Starting the server:

Run npm start. Open http://localhost:3000 to view it in the browser.

Features

Positioning the start and end node

You can move the start and end node to which ever cell you want by dragging and dropping

Adding walls

Firstly, make sure you the the rightmost yellow button as Toggle (Node Type=Wall) You can add walls to which ever cells you want by clicking the mouse and dragging it and the same goes for removing them You can also toggle between wall cell and normal cell

Adding Weighted Nodes

Firstly, make sure you the the rightmost yellow button as Toggle (Node Type=Weighted(6)) You can add weighted node to which ever cells you want by clicking the mouse and dragging it and the same goes for removing them You can also toggle between wall cell and normal cell

Auto calculation of shortest path

The shortest path is calcuted on itself on moving the start or end node without having to press the calculate shortest path button.

Visualization of Path

Visualize the generated path by clicking the Visualize Path Button

Clear Grid

Clears the grid and removes all the weighted node and walls

Clear Visualization

Clears the visualization of the algorithm and make every visited node and shortest path node as unvisited node.

For example these are the visualized paths for the A-Star and Dijkstra Algorithm

After visualization

After visualization you can reposition start and end node as you want and add and delete walls as you wish and visualize using any algorithm again without reloading the webpage

Developers

This Project was built by

pathvisualizer's People

Contributors

abhipal7500 avatar

Watchers

 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.