This is a Flood-Fill Algorithm Visualizer. This algorithm is mainly used to determine the bounded area connected to a given node in a multi-dimensional array.
In this project, this algorithm is used to fill color inside an area surrounded with multi-color boundary.
Flood-Fill Algorithm has two approaches
- 4 connected approach
- 8 connected approach
Here, 4 connected approach is implemented here.