I saw this Sebastian Lague video on A star pathfinding, and I was so intrigued that I wanted to give it a go! This is my attempt at recreating it in scratch! Controls: space to generate path click to place/remove walls S to place the start E to place the end N to clear the grid/resize Hover your mouse below for more settings!
Huge thanks to https://www.youtube.com/@SebastianLague for the explenantion! Use turbo mode for faster pathfinding!