This script generates a pattern like the one shown in the attached png. The size of the image can be anywhere from 300x300 to 3000x3000. The pattern can be symmetric, or it can be weighted to have longer sides on one side. The color of the lines in selectable. I'm not sure what this can be used for, but it does make a nice pattern that can be tiled. Enjoy!
The one thing I could not figure out how to do was to make each stroke a different random color. I tried using an if statement inside the loop and then setting the color to (rand 256) (rand 256) (rand 256), but for some reason that did not work correctly. If anyone out there can figure out why, please post it in the comments. I'll add it into the script and give you the credit for it.
Comments
Code for random color