Why do you not use a normal floodfill algortihm which is able to change the value which is drawn
WIKI

EDIT: I should actualize the browser window more often

muffel

Last edited by muffel; 01/04/11 11:47.