This project allow the user to visualize various search algorithms on a grid, and allow them to paint their own start and end points, as well as walls to complicate the search.
- Implement search algorithms.
- Breadth First (Done)
- Depth First (Done)
- A* Search (Done)
- etc
- Animate search. (Done)
- Ability to move camera while animation occurs.(Done)
- Make default offset such that the screen is in the middle of the board. (Done)
- Control animation speed. (Done)
- When starting a new animation, stop animating any previous animations. (Done)
- Use Set.has() instead of Array.includes() for visited check in BFS, O(1) vs O(n). (Done)
- When painting with mouse, interpolate points to paint between mousemove event locations. (Done)
- Can change animation speed in the middle of an animation. (Done)
- Add a way to select between search algorithms. (Done)
- Tutorial/info page. (Done)
- Zoom/unzoom should be bound to the center of the window, not the center of the board.
- Optimize: namely, changing forEach into for loops.