Implementation of flood fill Algorithm on a Apple pattern in C++

Viplav Anand May 25, 2021

It is a C++ project which replaces all the characters in a given boundary using dfs .

Have you ever imagined how the filling of color in paint application works? when you pour color in a certain region it colors all the regions inside a boundary. This project is a small demonstration of it. In this project I had used an apple pattern to demonstrate the same. When you provide a certain coordinate it will color all the connected components inside the boundary in this case inside an apple.

Language used:-C++  Concept used :-Flood fill algorithm, recursion, DFS, file handling

apple pattern

Through this figure You can see that the region inside the apple is filled with the word r replacing all the dots(.).

 

 

Project Files

Loading...
..
This directory is empty.

Comments (0)

Leave a Comment