4 ms·
How where you able to implement such a fast floodfill? I tried to make something similar a few years ago, but was not able to get the floodfilling to work in re
by djxfade 6y ago
How where you able to implement such a fast floodfill? I tried to make something similar a few years ago, but was not able to get the floodfilling to work in reasonably time
- EquallyJust 6y agoHere's the source code for draw_fill: https://github.com/chowderman/xp-paint/blob/b6dfcce7f449d3bb6eec21c3c859571067e7c771/xp-paint/src/image-manipulation.js#L362 https://github.com/chowderman/xp-paint/blob/b6dfcce7f449d3bb...