A star algorithm visualisation I implemented myself in the p5.js library, this is my first project in p5.
visual example: drag to make white squares into black squares or vice versa, double click to assign initial point or final point.
press c to clear the board.