Beautiful_Boxes
Python Script Generates Boxs Recursively
Pulled from a seperate project and turned to "art" efforts. Splits boxes recursively with some added randomness, colors, and different constrainst on the number of splits.
Also returns a node list of the splits. My other project uses these nodes as a building block for synthetic circuit diagram images.
Below are a few example outputs. Vary a couple different parameters for different outputs.
split by the aspect ratio (always split along the long side) random colors :)
the pattern is interesting and unintended. probably caused by some rounding error and recursion depth
split aspect with added noise to split location, random colors
split randomly with added noise to split location, random colors
split randomly with added noise to split location, random colors (removed lines)
messing with the code (shrink boxes leave lines)
removing even split constraint (had some naive code that needed to be changed)