Skip to content

A creative way of seeing how different PathFinding algorithms work

Notifications You must be signed in to change notification settings

leonfullxr/Visual-Path-Finding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

visual_path_finding

A creative way of visually seeing how different Path-Finding algorithms work

Pending optimizations

  • Don't add already closed nodes to the frontier on node expansion.
  • Check if the expanded node is the same as the target on node expansion.

How to use

  • Left-click:
    1. Player
    2. Target
    3. Walls
  • Right-click:
    • Erase
  • Keys:
    • R: Rotate player
    • F: Forward player
    • C: Clear game
    • Space: Compute plan
    • 1: Breadth-First-Search (BFS)
    • 2: Depth-First-Search (DFS)
    • 3: Dijkstra
    • 4: A-Start

Color-coding

  • Red: Player
  • Purple: Target
  • Black: Wall
  • Blue: Closed nodes
  • Green: Open nodes
  • Orange: Plan steps

Screenshot

A-Star Screenshot

About

A creative way of seeing how different PathFinding algorithms work

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages