Have you ever wanted to add a simple wave pattern as a background to your design or a graphic to use with your web software and were disappointed with the pre-made patterns in Illustrator and Photoshop?
The limited selection and inability to customize those cookie cutter patterns choked my creativity. So, I attempted to create my own wave pattern. Armed with the confidence of creating successful seamless patterns in the past, I thought ‘How hard can this be?’
I thought wrong...
More math needed for this bad pattern!
I had approached this in the usual way of starting a seamless pattern. I started with a 1000 x 1000 px document in Illustrator, and then used the Pen tool, and Transform Effects options. I soon discovered the difficulty in predicting a consistent wave and ended up with a choppy unpredictable pattern. In order to get this wave to cooperate I needed to be more intentional with my math.
A much better pattern.
After a some trial and error with the Zig Zag effect, I tested the pattern and there it was. A seamless wave pattern with the flexibility to customize. I'd like to show you how to do it in a few easy steps.
Note: This tutorial is recommended for intermediate Illustrator users. I used Adobe Illustrator CC 2019 and a Mac for this article, some keyboard keys and tools may be different depending on the computer you use or the version of of Illustrator.
Troubleshooting Tips are at the end of this article for some of the problems I encountered while making this pattern, you might encounter different problems that I'm unaware of. Leave a message for Wittner Design on the contact page and I'll work through the problem and add it to Troubleshooting.
Illustrator: Use these settings when creating a new document.
STEP 1: Creating the Document.
Create a New document, use the settings in the image above then click Create. If you have a different color mode than RGB you can find it in More Settings, click on More Settings to open up its panel and find Color Mode, click on it and in the drop down menu click RGB then click Create Document.
Create and Align Your Beginning Line.
STEP 2: Creating and Aligning the Beginning line.
Make sure you have No Fill, and you have a black Stroke. Click on the Pen Tool and create a 1 px line straight across the width of the artboard, while pressing the Shift key to constrain the angle.
Check the length of the line with the Transform panel, ( which can be accessed on the top toolbar, or right side toolbar, or by clicking on Window to get it from the drop down menu) if needed, change your line Width to 1000 px.
Keep the line selected and click on Align. Select Align to Artboard then click on Align Horizontal Center and Vertical Align Center. Your line should be a width of 1000 px and perfectly centered at the top of your artboard.
STEP 3: Making Waves.
We'll make a wave out of this line with the Distort & Transform Effect. Keeping your line selected, click on Effect then go to Distort & Transform and click on Zig Zag.
Transforming Your Line to a Wave
The Zig Zag panel opens. Use the settings I've entered in the image above. Select Smooth for a round wave or Corner for a pointy wave, select Preview to see your changes, then click Ok.
Note: The important number to enter is in Ridges per Segment.
You might ask why or you might want the short answer.
Warning: Long Answer ahead followed by Short Answer.
Long Answer: Ridges are the waves. Your 1000 px line is made up of one segment and it’s on an Artboard 1000 px wide. The number of ridges (waves) per this one segment line must be a number that fits into these constraints. This provides for both ends of the line to meet seamlessly when the pattern is made. I came up with any two digit number that ends in 9, or just 9
(I didn't go as far to experiment with 3 digit numbers). The Short Answer: Use one of these numbers 9, 19, 29, 39, and so on, use whichever number meets your design needs and ends with 9.
Duplicating the Wave.
Now that you have your wave, next we'll duplicate the wave so it fills the Artboard. Click on Effect then go to Distort & Transform, click on Transform.
Notice the Left and Right ends of the wave are identical.
The Transform Effect panel opens, (since the wave height is 10 px the Vertical Move should be at least 10 px unless you unless want your waves to overlap). Continue to enter the settings in the above image. Select Preview to see the copied waves, Click Ok. And there it is.
Next let’s make this into a New Pattern Swatch and take it for a test drive.
Making a New Pattern Swatch.
We'll drag your waves into the Swatches panel to make a New Pattern Swatch.
Create 1000 px by 1000 px square with the Rectangle tool with no Fill and no Stroke.
Important: There's a good chance that this new square 'adopted' the Effects on this layer, go to the Appearances panel and check, see Troubleshooting at the end of this article to for instructions and a visual on how to find and get rid of the unwanted Effects.
This new square needs to be underneath and aligned with the waves. Keep the new square selected and with the Selection tool, Right click on the Artboard and a menu will come up, go to Arrange and click on Send to Back.
Your 'invisible' square is now in the back and aligned.
Next Align the new square to the Artboard by clicking on Align, make sure Align to Artboard is selected, select Horizontal Align Center and Vertical Align Top as you did to align your beginning line in Step: 2.
Open the Swatches panel, select both your waves and your new 'invisible' square together and drag them onto the Swatches panel. A plus sign should appear as your selection enters the Swatches panel.
A New Pattern Swatch is created. Now it’s ready to test.
This is a good looking pattern!
The Test Drive:
To Make sure the pattern is seamless, we'll make a rectangle and fill it with the New Pattern Swatch.
Make a new layer to put the 'test' rectangle on. Zoom out to give yourself some room and Drag out a Rectangle with the Rectangle tool
(any size rectangle is good, in fact, the less square it is the better it is to test the pattern).
Fill the new rectangle with white then Copy it by pressing Command C, paste it on the front of the rectangle by pressing Command F. Fill the top rectangle copy with your New Pattern Swatch. It should be seamless and look fabulous. If not see Troubleshooting fixes at the end of the article.
Scaled Pattern from 100% to 50% (Waves are 4pt Stroke)
Scaling the Pattern:
You can use the Scale Tool to further test the pattern or as one of the many ways to customize it. Keep your 'test' Rectangle selected and double click the Scale Tool to open up the Scale Tool panel. Make sure that only the Transform Patterns option is selected. Select Preview to see the changes. Enter any percentage in the Uniform option and the pattern changes size. Carefully inspect your pattern for any irregularities.
Change your waves to Objects & customize your pattern!
There are a lot of other ways to customize the wave pattern by using Illustrator tools and options. Try expanding the waves and turn them into Objects for more and different options. You can add a variety of colors and cut out sections of the wave to add interest.
Of course, you’re only limited by your imagination and the limits of a seamless pattern. Whatever changes are made, make sure the top and side elements of your wave pattern remain unchanged so they will line up seamlessly, this means any colors, too. Turn your customized waves into a New Pattern Swatch using the same technique used in
Step: 5 Making a New Pattern Swatch.
Thank you for reading this article, I hope this makes life easier, and keep breaking the rules & changing the world!
If you can’t drag waves into Swatches Panel:
1. Bottom square must have no Fill and no Stroke.
2. Waves and square must be selected together.
3. 'Invisible' square must be on bottom of Waves.
Pattern is seamless but a little or a lot ‘off’ and/or choppy:
1. Make sure the numbers you entered in Ridges per Segment in the
Zig Zag panel are correct. (ending in the number 9)
2. Makes sure Absolute is selected in Zig Zag panel.
Troubleshoot: Unwanted FX adopted from layer
3. Check that the Effects that were used to make the pattern are not applied to bottom square (this can happen if the new square adopted unwanted Effects from the Layer).
Check and correct this by selecting your bottom 'invisible' square then go into Appearances, if there are any Fx in the panel, select the Fx and then select the Garbage Can at the bottom of the panel to get rid of the offending Fx’s. Select both the waves and bottom square together and re-drag them into the swatch panel.
Written by Wendy Wittner | Illustrator, Graphic Designer | June 4th 2019
Images| Wittner Design & illustration © 2019