Git Product home page Git Product logo

graph-traversal-visualization-tool's Introduction


Graph Traversal Visualization Tool

Table of Contents

About The Project

photo1 This is a simple python application in which you pick a start square and an end square from a 50 by 50 grid (changable in the code), and place barriers in between those points at any square the user wishes to. By pressing spacebar after the user is done drawing his\hers start, end and barrier points, the A* algorithm begins. On the screen you will be able to see the computer traversing through the grid in an a* fashion. A blue square will indicate the starting position while an orange one indicates the end square. If a square is turned green it means this square was pushed to the Priority Queue (PQ) from which the algorithm chooses its next node to inquire. The red squares are squares which have already been investigated and found not to be equal to the end node (i.e. closed nodes).

photo2

Built With

Prerequisites

Just install pygame 1.9.6: pip install pygame==1.9.6

Usage

Simply run the program and choose the stat square and the end square subsequently, choose barrier. IF you wan to erase a square (i.e. change the start\end\barrier points), simply right click on the chosen square. If you erase a start\end\barrier square, the next time you will click on a square it will turn to the same type of square you have just deleted.

License

Distributed under the MIT License. See LICENSE for more information.

graph-traversal-visualization-tool's People

Contributors

nadavleh 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.