-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtodo.todo
More file actions
19 lines (11 loc) · 759 Bytes
/
todo.todo
File metadata and controls
19 lines (11 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
remove hardcoded values of begin and end and make them draggable
add animation to drop obstacle
add obstacle through mouse drag
send request to backend to convert given matrix into adjacency list then apply Dijksta on that received list
handle error route on backend
add a loader next to the play button and log the processing
instead of colouring all at once, store the path taken and the nodes visited in the order and then colour them one by one at the box component
for gradient you can use distance = sqrt ((i-starti)^2 + (j-startj)^2) and add that in the rgb
draggable start and stop
send an alert if the path cannot be found
#####create a local storage copy of the start node end node and the grid matrix and the colour matrix and set it once