An algorithm for irregular rectangles/boxes that map 1:1 with a square grid
SDL2 single header file C library for a 2D grid