I just tried to make a visualization of the famous flood fill algorithm using JavaScript, that's it.
https://flood-fill-visualizer.netlify.app/
- HTML
- CSS
- JavaSctipt
- P5.JS Library (for animation and art)
- "Clear" button resets the map
- "Randomize" button randomly generates some obstacles
- You can also click on a certain cell to turn it into an obstacle
- "Play" button runs the simulation