GithubHelp home page GithubHelp logo

kartikay-sharma / path-finding-algorithms-visualization Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 23 KB

An interactive tool which visualizes path finding algorithms on a grid.

Python 100.00%
astar-search-algorithm bidirectional-search breadth-first-search depth-first-search dijkstra-algorithm grid maze-generation path-finding-algorithms pygame python

path-finding-algorithms-visualization's Introduction

Path Finding Algorithms Visualization

This project is a visualization tool for path finding algorithms. The tool aims to provide a visual representation of popular pathfinding algorithms such as:

  1. Dijkstra's Algorithm
  2. A* Search Algorithm
  3. Bidirectional Algorithm
  4. Breadth-First Search Algorithm
  5. Depth-First Search Algorithm

Features

  • Implementation and Visualization of Path Finding Algorithms
  • User can add walls/obstacles and algorithms will find new path while considering these walls
  • Random Maze Generation using Recursive Division

Sample Images

image image image

User Interaction

  • Right Click - Revert start, end or wall cell to a normal cell
  • Left Click - Designate a normal cell to wall cell
  • Buttons - Choose a path finding algorithm, clear the grid or generate a random maze

Note: After removing a start or end cell (by right click) user can reinstate them by left-clicking on any cell before starting an algorithm

Languages - Libraries - Resources

  1. python
  2. pygame
  3. heapq
  4. random
  5. time

Installation

  1. python and pygame must be installed
  2. Run Path Finding Algorithms Visualization.py

path-finding-algorithms-visualization's People

Contributors

kartikay-sharma 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.