It's possible to create coordinate-based grids based on other functions – Fermat's spiral for example. I can simulate the module-based grid, with common corner vertices, or use coordinates to position cells without common vertices.
I explore small programs in somewhat the same way I would use traditional media. I have a general idea of the result I am attempting to achieve before I start coding. I work through various challenges during the process. I selectively discard or keep elements as I approach the final rendering.