Project Overview
This project is a visualization of what the Dijkstra's and A* pathfinding algorithms do to find the shortest path to a target node from a starting node. Dijkstra's Algorithm is less complex in that it doesn't use heuristics to influence its successor nodes - this means it doesn't need to know where the ending node is to be able to find the shortest path, however it is much slower. A* uses heuristics called f, g, h. These heuristics are values that influence the nodes' decisions in choosing a new successor node. The g is the distance from the starting point and h is the distance from the ending point. h can be calculated using many approaches. The way I did it was using the exact distance, finding it with simple trigonometry (Pythagorean theorem). Once g and h are calculated, f is just the sum of g and h and the nodes are picked based on the lowest f number.

