Conversation
Add FrontFill algorithm Add benchmark_mode flag
|
The front_fill function performs a flood fill on a 2D canvas, starting from an initial point (x0, y0), replacing all connected pixels of a target color with a new_color. It uses a scanline approach, processing the image row by row by tracking horizontal segments of pixels. S.V. Burtsev, Ye.P. Kuzmin, Key Components:
|
|
Nice catch on CANVAS_HEIGHT in R_LineFloodFill! I'm surprised that bug made it this long :) Pretty amazing work and code on the new fill algorithm - wow! I'm traveling and haven't had time to review it, but look forward to understanding it. I will also be very surprised if that code makes it through the C86 compiler, but that's ok if it does not. Thank you! |
Add FrontFill algorithm (on mouse click)
Add benchmark_mode flag
Fix canvas bounds check in R_LineFloodFill (keep it on 'f' button)