Not wanting to give up on getting some curves into the compositions created by the program, I decided to add some circles. This seemed like it would be much better than the random amount of border radius, which created some awkward shapes.
Now the program has a 30% chance of drawing a circle, which seemed to me, aesthetically to be enough circles. It does occasionally create too many circles for my taste, but on the whole, I really like this approach.
Code Snippets for 10
On line 14, you can see that I created a variable that holds a random number between 1 and 100. If the number is over 30, draw a rectangle. If it is under 30, draw a circle. The element is a circle if border radius is applied to it, as seen on line 28. I should probably make this part of the function a little more efficient.