Draw obstacles, add weighted terrain, move the start and end nodes, then watch A* combine the travelled cost g(n) with the estimated remaining cost h(n).