Random pattern generation in Illustrator
I am new here and a beginner graphic designer. I am trying to learn how to generate a pattern like below:
My question is:
Is there any way to do this in Adobe Illustrator?
In the image above, I am looking for learning:
- Randomness in a specific set of colors, or shades/tints of a color.
- Randomness in a specific set of angles.
Appreciate your help. Thanks.
Disclaimer: I don't own the image above.
I usually play around with nested Transform effects on objects to create patterns.
Effects > Distort & Transform Effects >Transformsâ€¦
Illustrator has powerful scripting tools that you can use to create random patterns and colors. There are a bunch of YouTube videos and Tutorials out there explaining how to create patterns and random colors via scripts, or download already made script which can be applied to your designs.
Here are some few links that might be of help (I know add linking to answers is discouraged but I know you will find these detailed tutorials more enlightening or google search the attached titles just in case the link is broken )
Vector Boom has a detailed tutorial on a free script Explaining random coloring. Titled: Free Illustrator Script - Random Swatches Fill
Veerle Pieters also has a nice tutorial on the topic that can be a good read for you, Titled:Creating patterns in Illustrator CS6
- Harron also provides a coloring script that I found useful. Here is a link to some Random coloring script
Hope this can give you a head start into a deeper reading.
I started with creating a circle (50pt diameter) and using a few lines and the Shape Builder Tool, I broke it into 4 equal pieces:
Then used Transform effects (Effect â†’ Distort & Transform â†’ Transform) to move the shape 50pt and create a bunch of copies.
Now Expanded with Object â†’ Expand Appearance and ungrouped everything.
I now have a bunch of individual paths:
To get all the randomness, will require a use of various illustrator scripts, they are all available and I will try to link to them all.
Applying random color was easy enough, using the script from this answer, I just selected my group of colors and ran the script.
In your example, there are some pies (that's what I'm gonna call them) which are not there. To apply that randomly, I used the script Random Select by AndrÃ© Berg.
Simply set an amount to select (I did 20%) and delete the selected objects.
Now for the rotation; in your example, everything is done in 90Â° increments, so I used the same random selection script (this time on 25%) and then rotated by 90Â°.
In order to rotate the individual paths and not the entire selection, you have to use
Right click â†’ Transform â†’ Transform Each Alt+Shift+Ctrl+D
I then repeated this a few times (Random Select â†’ Transform Each â†’ Rotate 90Â°)
Now, with a bit of Illustrator scripting experience, you could actually create a script that rotates your paths by either
This would make it that you didn't need to randomly select and rotate a few times, just select all and run the script, then run again until satisfied with the outcome.
You can also use just one color and then use this random opacity script by Iaroslav Lazunov to make everything different tints of the same color (assuming that your background is white).
You can even do both for a nice effect.