ScratchData LogoScratchData
Back to sandboy's profile

flood-fill

SAsandboy•Created June 16, 2009
flood-fill
0
0
167 views
View on Scratch

Description

Flood Fill Example: This program demonstrates how to fill a closed shape with a color. Even around holes! Draw a shape and press the 'f' key while pointing inside it. It will fill the white area with the current color. I added white (for erasing) but it won't fill with the background white color. It uses the "scanline" flood fill algorithm, which is explained here -- http://student.kuleuven.be/~m0216922/CG/floodfill.html Enjoy.

Project Details

Project ID571926
CreatedJune 16, 2009
Last ModifiedJune 16, 2009
SharedJune 16, 2009
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root