Based on the paper:
“A Linear-Time Constant-Space Algorithm for the Boundary Fill Problem”,
V. M. Yanovsky,
Code Development & implementation
Mhameed Saeed
Abed Alkader
Karam
Theory & Algorithm
Vladimir M. Yanovsky,
Computer Science
Department, Technion IIT
May
05, 2007
Instructions:
Choose Fill and Border Colors by clicking the appropriate colored buttons.
To paint in one of those colors or other ones, select a color and click cells on the left.
To choose a starting cell, click the seed button or right click on the desired cell
To change the number of cells, type your desired number and click on reset button
To start the algorithm push Run – it will run in intervals as specified below. Press Pause to pause. Do One Step will advance one algorithmic step.
Continue will continue the algorithm (after it was paused).
To redraw the original region press the partial reset button .
Enjoy !