Skip to content

trinhminhtriet/path-finding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

31 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Path Finding

๐Ÿš€ Interactive pathfinding app using React, Deck.gl, and MapLibre for visualizing routes and geospatial data.

โœจ Features

  • Visualize pathfinding algorithms on a real map
  • Select start and end points
  • Select algorithm to visualize
  • Select speed of visualization
  • Select grid size
  • Select map type (satellite, terrain, street)
  • Select map style (dark, light, retro)

Available algorithms

  • A* algorithm
  • Greedy algorithm
  • Dijkstra's algorithm
  • Bidirectional Search algorithm

Installation

  1. Clone repository to your local machine
  2. Open terminal and cd into repository folder
  3. Run npm install
  4. Run vite or npm run dev

Usage

  1. Open your browser and go to https://pages.trinhminhtriet.com/path-finding/
  2. Select start and end points on the map:
  • Left click: Place start node
  • Right click: Place end node The end node must be placed within the shown radius.
  1. Click Play to start the algorithm
  2. Select algorithm to visualize
  3. Select speed of visualization

๐Ÿค How to contribute

We welcome contributions!

  • Fork this repository;
  • Create a branch with your feature: git checkout -b my-feature;
  • Commit your changes: git commit -m "feat: my new feature";
  • Push to your branch: git push origin my-feature.

Once your pull request has been merged, you can delete your branch.

๐Ÿ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

Demo

Live Demo

About

๐Ÿš€ Interactive pathfinding app using React, Deck.gl, and MapLibre for visualizing routes and geospatial data.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published