Skip to content

An alternative approach for filling an area is to start at a point inside the area and “paint” the interior, point by point, out to the boundary. This is a particularly useful technique for filling areas with irregular borders, such as a design created with a paint program.

License

Notifications You must be signed in to change notification settings

nadunz/Area-Fill-Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Area-Fill-Algorithm

An alternative approach for filling an area is to start at a point inside the area and “paint” the interior, point by point, out to the boundary. This is a particularly useful technique for filling areas with irregular borders, such as a design created with a paint program.

Requirements

  • jdk 1.8 or higher

Compile & Run

  • $ javac AreaFill.java
  • $ java AreaFill

Exmaple

Input

in1

Output

out1

About

An alternative approach for filling an area is to start at a point inside the area and “paint” the interior, point by point, out to the boundary. This is a particularly useful technique for filling areas with irregular borders, such as a design created with a paint program.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages