Playing with lines drawn on a grid

For the last day, I was trying to figure out a way to make a packing algorithm in Processing (seriously, if anyone has any ideas I’d like to hear them). As that was an abject failure at this point I worked on a sketch using a grid with lines that draw in random cardinal directions from the starting x and y. There starts to be some really interesting layering happening when I cranked the iteration up, varied the stroke weight and made the grid more condensed.