Pathfinding
a simple java swing application for visualizing pathfinding algorithms
Install / Use
/learn @apbeecham/PathfindingREADME
Pathfinding Visualizer
Description
Pathfinding Visualizer is a simple java swing application for visualizing pathfinding algorithms. It consists of a 50x50 grid that simply steps through the pathfinding algorithm highlighting each grid cell in a different color depending on its state.
Color Key
- Green - Cell has been visited and all its edges examined.
- Blue - Cell has been found by the pathfinder but is yet to be examined
- Cyan - Cell is part of the shortest path from the start cell to the goal
- Magenta - Start cell
- Red - Goal cell
Algorithms
The program currently allows you to search the grid with either dijkstra's algorithm or A*.
UI
- Basic user controls (start & reset)
- User defined execution speed
- User defined start/goal cells (select which to place from a drop down list and then click on the desired grid cell)
How to Run
- Download the [latest version of java] (http://www.oracle.com/technetwork/java/javase/downloads/java-se-jre-7-download-432155.html) (if you haven't already)
- Download the latest release
- Run the jar file
Feel free to use/edit the source files for any purpose you require.
Related Skills
node-connect
351.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
