Third step of a CTwins effort to create a random Mondrian style grid painting. Green flag to generate something.
I've tweaked the two lists so that they now contain all the intersections of the squares, and I've randomized the horizontal lines so that they sometimes don't end at the right hand side (that's the "if" with the random in the second loop). I was thinking that at the end I'd broadcast a message to let some coloured sprites hop to random x/y positions taken from the two lists and draw colours? Anyway, I'm stopping now :-)