Skip to content

sangingeum/AStarVisualization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A* Algorithm Visualization

Description

This visualization project allows users to interactively create custom maps with arbitrary shapes and place obstacles to simulate various scenarios. By observing the A* algorithm in action, users can gain a better understanding of how it finds the optimal path in different situations.

How to build

To build this project, you need the following:

How to play

  1. Download the latest release from my repository
  2. Unzip the file
  3. Run the executable named AStarVisualization.exe
  • Mouse Left Click(or Hold) : place an obstacle at the cursor position
  • Mouse Right Click(or Hold) : remove an obstacle at the cursor position
  • N Field : The number of rows
  • M Field : The number of columns
  • Reset Button : Apply the numbers written in N and M fields and reset the map
  • Start Button : Calculate a path from the source(blue block) to the destination(red block)

Images

image1 image2 image3 image4 gif1 gif2