q-floodfill
Optimized, non-recursive flood fill using a scan line search
@thi.ng/rasterize
Headless 2D shape drawing, filling & rasterization for arbitrary targets/purposes (no canvas required)
natlib
natlib is a highly composable library for small games.