Multidimensional Flood Fill Algorithm
Multidimensional Flood Fill Algorithm with Von Neumann and Moore neighborhood