Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

After following many tutorials about pattern making using pattern maker and brush pattern in Illustrator and then offset in Photoshop, I couldn't make the below image into a usable seamless pattern :(

It is the complexity of the "wave" shape that makes it difficult to achieve; most other tutorials and questions here in Stackexchange talk about simple/square patterns.. this one is different.

Download AI file

Any suggestions?

Pattern

share|improve this question
4  
Create the wave at a 90° vertical or horizontal.... that will be much easier. Then you can rotate the pattern when it's applied to an object (Photoshop can't do that). –  Scott Dec 17 '13 at 23:58
    
Unless you can make a pattern then rotate it as Scott suggests, making tiles with rotated/diagonal images is much more complicated than if they are straight. See How to create a pattern or tiles from rotated elements for some detailed explanations on why –  user568458 Dec 20 '13 at 16:30
    
Thanks guys for the comments. The thing is I have this image as a base, and I want to convert it to a seamless pattern without having to create the waves from scratch I already tried duplicating a curve line in AI, but it failed to create a seamless pattern :( –  numediaweb Dec 23 '13 at 12:22
    
Did you try doing as Scott suggests? –  JohnB Dec 23 '13 at 15:47
add comment

1 Answer 1

up vote 2 down vote accepted

I'm prepared to eat my words here, but unless I'm greatly mistaken that is NOT a repeating pattern - despite appearances. It may have been one once, but not in its current form.

I'll try to explain;

1. (if you want to repeat my test) Rotate the image so that one wavy line is exactly horizontal. You can do this by finding the high point of one line and aligning it horizontally against its next high point.

2. If you draw a line through these high points, and then do the same with two OTHER wavy lines, you will see that they arc away from one another - like a cone, or a pint glass on its side.

The image below demonstrates this - the top horizontal line travels at approximately 3.3 degrees, the middle line at 0 degrees (obviously, because its been lined up) and the lower line at approximately -3.8 degrees.

Not a repeating pattern

3. To make things even more complex, the lines aren't traveling in a straight line, either. Looking at the middle line more closely, we can see it actually travels in an arc.

Curved arc

In other words, the image appears to be warped - perhaps by design. There are also some forms of DRM that protect images by warping them subtly so that smaller pieces of a larger whole image can't be pieced back together again (I don't particularly think that's happening here, but I'm just throwing that in there as an aside).

To my mind, your only real option here is to create the pattern yourself, so I'll explain how you can achieve a very similar effect.

1) Open a new Illustrator document at 900px by 900px in size (I only used this size so that I could use your source image as a reference - and it happens to be that size).

2) Drag in your PNG pattern or go to FILE > PLACE, then select the pattern file (either achieves the same thing). Keep the image on its own layer to keep it out of the way.

3) Create some new color swatches so that you can exactly reference the colors of your source pattern (if you want things to look the same). One way to do this is by selecting the eyedropper tool and clicking on each of the two predominant colors of your image - each time dragging the color to the swatches panel once you're happy with the color (you can drag the color directly from the fill or stroke boxes).

A few pointers;

  • If the eyedropper tool isn't picking up the color you want, double-click on the tool and make sure that everything is unticked in 'Eyedropper Picks Up' except Appearance > Focal Fill > Color. You can always put things back again afterwards.

eyedropper settings

  • If the wavy line color isn't coming out right, make sure you zoom right in to eyedrop the brightest, most vivid part of the line. Because it's a rasterized image, there are lots of different shades at the edge of the line, which may not be too helpful.
  • finally, if that seems too much like hard work, you can just copy the value I picked up. Background Color (RGB): (R) 35, (G) 106, (B) 85, and Line Color: (R) 57, (G) 121, (B) 102.

4) Now for the effect. Use the ellipse tool to create a symmetrical circle (hold down shift when dragging). The size doesn't matter too much at this stage. For ease of working, remove any fill and give it 1pt of stroke so you can see it easily.

5) With the circle selected, use the scissors tool (might be hidden under the eraser tool) and snip both the top and bottom anchor points of the circle. Effectively, this will chop it into two.

6) With the Selection Tool (black arrow), pull the halves apart. Then drag the top-most anchor point of one half directly on top of the lower-most anchor point of the other. If you have Smart Guides enabled (VIEW > SMART GUIDES), the two points should snap on top of each other very easily.

chopped circle

6) With the Direct Selection Tool (white arrow), marquee over the now-overlapping anchor points and join them together (OBJECT > PATH > JOIN). You should now have a single open path (either an 'S' shape or a reverse 'S', depending on which points you joined.

7) With the Direct Selection Tool (white arrow), select just the top anchor point and delete it. Then do the same with the lowest anchor point. You should end up with something like this (again, yours may or may not be in reverse). This is the basis for our wavy line;

wavy line

8) In order to get a similar effect to the existing pattern, we need to reshape this line a little. First, with the line selected, double-click on the rotate tool in order to bring up the dialog box. Set the rotation to 45 degrees (or -45 degrees if you're going the other way) so that the line is running exactly horizontally. This is important so that we don't warp the line in an irregular way in the next step.

rotation of line

9) Find the Transform controls in Illustrator's toolbar (you will either need to click on the word 'Transform' if you're working on a smaller screen - or the controls will already be visible). Set the width to 364px and the height to 26.5px. These values are simply those that I came up with when comparing the shape of the original pattern against my custom wavy line.

set dimensions

10) With your wavy line selected, change the stroke to the lighter shade of green we defined in step 3 and set the stroke weight to 1.5pt. Remove any fill if one is present.

11) Go to the appearance panel (WINDOW > APPEARANCE, if you can't already see it), make sure your stroke is highlighted, and add a second stroke by clicking on the hollow square in the bottom left-hand corner. If your existing stroke was highlighted, this will create a duplicate.

12) Select the lower of the two strokes and set its weight to 9pt and change the color to the darker shade of green. You should see something like this;

Multiple strokes

13) In the appearance panel, select 'Path' (you DON'T want either of the strokes selected - this needs to be applied to the whole thing), and then go to 'EFFECT > DISTORT & TRANSFORM > TRANSFORM'. Use the following settings;

  • Leave the scale values alone (they should both be 100%)
  • Set MOVE > VERTICAL to 7px (horizontal should remain at 0px)
  • Rotate angle should be left alone (0 degrees)
  • Under OPTIONS, make sure 'Transform Objects' is ticked (untick everything else, if in doubt)
  • Set 'Copies' to 50

Enable 'Preview' if you like - but your results should look like this;

Distort and transform

14) With your path selected, go to OBJECT > PATTERN > MAKE. Use the following settings;

  • Tile Type: Grid
  • Width: 364px
  • Height: 357px

Make pattern

Then click 'Done' at the top of the screen. Your new pattern will appear in your swatches window.

15) Test your pattern! Create a shape of some sort (a rectangle will do), apply the new pattern to the fill and there you go. If you want, use the rotate tool to put your pattern at an angle (make sure that 'Transform Patterns' is ticked and 'Transform Objects' is UNticked).

Additional things you might want to try;

  • the wavy line I've created with this example isn't perfect (though close enough for the purposes of explanation) - use the control handles to get an even more perfect curve.
  • If you find that your repeating pattern displays an ever-so slight seam at the edge, go back to your path (the complete item immediately before using 'Make Pattern' - at the end of step 13) and DUPLICATE the path. Place the two paths directly alongside one another so that the farthest anchor points overlap and join them together (joining is important to remove any seam). The shape will be twice as wide, but otherwise identical. Now create the pattern again (step 14) - you can use exactly the same settings - but the difference is that your wider pattern will now overlap with half of itself, and in doing so hide any seam beneath it.

I know that's a lot of steps, but it really doesn't take too long once you're familiar with the concepts being used. The advantages are that because this is entirely vector based, you can scale, tweak, rotate and recolor the pattern to your heart's content without any loss of quality, as well.

Hope that's of some help.

Final image

share|improve this answer
    
Waw! if everyone else in stackexchange.com writes answers like the one you posted above.. Then we can forget about Wikipedia! Thanks @Hobbes –  numediaweb Jun 30 at 12:50
    
haha ^_^ If everyone wrote answers like the one posted above we'd probably see a decline in the world's human population on account of everyone being chronically unsociable. Glad to be of use, nume. -_^ –  Hobbes Jun 30 at 16:11
    
Excellent, encyclopedic answer. +1 for stuffed tigers. –  Bakabaka Jul 1 at 8:24
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.