Saturday, 2 April 2011

Tutorial : Creating a Basic Fabric Repeating Pattern for Spoonflower

Having recently shown you some of my fabric designs, I thought it might be nice to give a quick tutorial on how to create a very basic, repeating pattern that can be uploaded to Spoonflower.


For those who haven't heard of Spoonflower, here is what they say about themselves:

"Spoonflower makes it possible for individuals to design, print and sell their own fabric designs. It was founded in May 2008 by two Internet geeks who had crafty wives but who knew nothing about textiles. The company came about because Stephen’s wife, Kim, persuaded him that being able to print her own fabric for curtains was a really cool idea. She wasn’t alone. The Spoonflower community now numbers around 70,000 individuals who use their own fabric to make curtains, quilts, clothes, bags, furniture, dolls, pillows, framed artwork, costumes, banners and much, much more. The Spoonflower marketplace offers the largest collection of independent fabric designers in the world. The site has appeared in the New York Times, Associated Press, Vogue, Martha Stewart Weddings, Make, CRAFT, ApartmentTherapy, Photojojo, and many other terrific publications and blogs."



Please note that the method I am documenting here is the one I use, which I find works well for me after some trial and error. I expect there are other (maybe better!) ways, but it should give you a starting point. 

To follow this tutorial you will need to install a scalable vector graphics (SVG) program.  This is a software package that allows you to create designs that scales, e.g. doesn't loose image quality if you make it bigger or smaller. I use Inkscape because it does everything I want and it is free - woohoo!  This tutorial explains what I do in Inkscape, but it will be similar in othe SVG programs, you may just have to hunt around a bit for the menu options.


So, let's assume you are desperate to make some great fabric for your craft project! Lets get started! 

Step 1 - Create a New Document


Create a new SVG document in your SVG program.  Set your document size to the fabric repeat size you require.  In this example I have set it to 8 x 8 inches (which just happens to be the test swatch size on Spoonflower).  I have heard through the grape vine that the Spoonflower website is happier with square repeats.  I can't say if this is correct or not, but to be safe let's make this example square.

Step 2 - Pattern Layer & Pattern Elements


Give your layer a sensible name as we shall be creating more later and a descriptive name will prevent confusion.  Create your fabric design elements (I've cheated here and just edited some images from a previous design of mine, Groovy Paisley). Don't worry about where to put them yet...

Step 3 - Rough Layout


...now worry about where to put them ;o)

I've opted for a very basic, square design with a flower at each repeat edge, to make it easy for you to see what I am doing.  So now you have your basic design, it is time to make it repeat.

Step 4 - 1st Repeat


I have deleted all but the bottom left flower. Because my flower is outside of the 8 x 8 inch pattern area, I will need to repeat it in the other 3 corners, so the whole flower is displayed once the pattern is repeated.  If the flower were not in a corner and just on a side (left or right / top or bottom) I would only need to repeat it on the opposite side.

 Select the item to repeat and then make a duplicate of it by hitting ctrl + D.  Initially you can't see the duplicate as it is directly on top of the original item.  You now need to move the duplicate to a repeated position.  To do this you need to know the size of your repeat, which in this case is 8 x 8 inches, and the x and y co-ordinates of the image you are repeating, which can be found in the tool bar at the top.

Now for some sums - ugh! ... but they are simple, I promise!

To move the duplicate flower to its repeat position in the bottom right I work out the new x co-ordinate:

current x-co-ordinate + width of repeat = new x co-ordinate
in this case, -0.603 + 8 = 7.397

So I type 7.397 in the x co-ordinate box of the duplicate flower and it shifts across to the bottom right corner of the pattern.

Step 5 - Completed Repeat



I create another duplicate flower for the top left corner and work out the new y co-ordinate:

current y-co-ordinate + height of repeat = new y co-ordinate
in this case, -0.587 + 8 = 7.413

Finally, for the flower in the top right I make another duplicate and give it the new x and y co-ordinates.

Still with me? The hardest bit is over - yippee!

Step 6 - Background Layer


I like to add my background on a new layer, as I find it easier to change it or hide it without accidentally messing up the pattern. Add the background layer underneath the pattern layer.

Step 7 - Background Colour


Create a square of your background colour.  Make it bigger than your repeatable pattern, in this case bigger than 8 x 8 inches.  This prevents getting the odd 1 pixel of missing colour around the border of the repeat.

Step 8 - Repeatable Layer


Add another layer, which we shall use to select the repeatable area.  Add this layer above the pattern layer.

Step 9 - Repeat Selection


On this new layer draw another square, as you did for the background colour.  Set its co-ordinates to 0,0, and its width and height to that of the repeatable area, in this case 8 x 8 inches.  The block will then be the same position and have the same size as your page (see Step 1).  You can make this layer a little opaque so you can see your fabric design underneath.

Step 10 - Create a Bitmap



When you are happy, select this square and then make the layer 100% opaque so only the select markers are visible but not the actual fill or border of the square. You are now ready to export the selected area as a bitmap.

For simplicity, set the dots per inch (DPI) to 150, which is the default Spoonflower expects.

Ta-daa!!! Your Repeatable Pattern PNG
 

Fingers crossed, you should end up with a PNG of your repeatable pattern!

Upload it to spoonflower and set the repeat to "basic repeat" to see the final result!

Blue Paisley Tutorial Example

Please let me know what you think of this tutorial, and if any of it is too confusing please let me know and I will try my best to answer any questions.

Happy Fabric Designing!

22 comments:

  1. Thanks, I might even give a vector program a try.

    ReplyDelete
  2. great tutorial, I really want to get some ideas onto fabric so the graphics part has had me at a stand still! I hope I can get the math ;)
    I will book mark your blog to keep up with your creative ideas!! thanks again!

    ReplyDelete
  3. That is sort of how I managed the background in the end, but I also changed the colour of the border to match the background by copying and pasting using the 'fill' rectangle in the bottom left hand corner. The way you make your bitmap looks more effective than mine - I was just saving my 8x8 square as a PNG and uploading to Spoonflower which didn't always give the right result.

    ReplyDelete
  4. I'm bookmarking and returning when I can think! I love Spoonflower and long to create fun patterns like you've done above. Thank you for taking the time to put this together!

    Ellen

    ReplyDelete
  5. I learned how to do this in my advanced computer graphics class this semester (part of my graphic design curriculum), but sometimes the designs in my corners wouldn't line up. Now I know what I was doing wrong! Thank you SO much for this wonderful tutorial! BTW, love your design example too.

    ReplyDelete
  6. Help I am stuck, when you do the 1st duplicate (of the flower from the bottom left) repeating to the right you made a new X and when you do the same for the top left that is a new Y. now For the top right corner you say it is must have its new X & Y? I don't understand.
    thank you for your patience
    can you tell I never did math?
    thanks again

    ReplyDelete
  7. Thanks you for a really clear tutorial - often wondered how people did that.

    ReplyDelete
  8. Thanks for all your lovely comments! I am so glad people found this interesting/useful.

    @funkeymonkey22003 here is a hopefully clearer explanation, although it is past my bedtime and my maths goes a bit wobbly when I am tired!

    *Step 1
    Bottom left flower co-ordinates
    (the original flower I copy from) :
    x = -0.603
    y = -0.587

    *Step 2
    Bottom right co-ordinates :
    x = -0.603 + 8 = 7.397
    y = -0.587 (the same as the original,
    bottom left flower,
    see Step 1)

    *Step 3
    Top left flower co-ordinates :
    x = -0.603 (the same as the original,
    bottom left flower,
    see Step 1)
    y = -0.587 + 8 = 7.413

    *Step 4
    Top right flower co-ordinates :
    x = 7.397 (same as bottom right flower,
    see Step 2)
    y = 7.413 (same as top left flower,
    see Step 3)

    I hope that helps.

    ReplyDelete
  9. You're a goddess! Thanks! I used to know how to create patterns, but I needed a refresher. <3

    Sey

    ReplyDelete
  10. I have spoonflower on my to do list!.....I bookmarked this page for when I get around to it! Thanks for the info!

    ReplyDelete
  11. Thanks so much for the tutorial! I had no idea there was a freeware opensource SVG program! I am so excited. You did a wonderful job explaining everything!!! Love and gratitude! xoxo

    ReplyDelete
  12. Thank you so much for the explanation you are so sweet to have done that for us, even though you were tired.
    thanks again
    I am going to try again this afternoon
    xxxxx

    ReplyDelete
  13. Yay I'm done! *dances a little jig*
    thank you
    :))

    ReplyDelete
  14. Congrat's funkeymonkey22003! Glad to be of assistance :o)

    ReplyDelete
  15. This sounds amazing. I'm not into crafting as much as I'd like to be, but if I was this would be so cool to try.

    Gave you an award today... stop by to check it out when you can!

    ReplyDelete
  16. Thanks "The Lucky Wife"! You are very kind!

    ReplyDelete
  17. I have finally started to spend some time on Inkscape and I have a question. Are we limited to the size of our work area in Inkscape for our repeat? I want to design some large scale print fabric for draperies and I'm not sure how big I can go when laying out the pattern. If you get a moment to respond I would be so very grateful. Thank you so much!

    ReplyDelete
  18. Hi nouveaustich

    I expect there is a limit but I haven't found it yet. I've just created a design that covers a whole yard (42 inches x 36 inches) using inkscape with no problem, and exported it at 300 dpi.

    If you have an old PC/Mac it is likely to run more slowly the bigger the file.

    If you are going to use Spoonflower you need to know there is a limit of 40MB upload size, so that might cause you more of a problem.

    You can change the page size by FILE -> DOCUMENT PROPERTIES and then fill out the "Custom Size" Box. You don't have to do this but it can help as a size guide.

    I would love to see your creation once done. Please feel free to link to it here.

    ReplyDelete
  19. Thank you so much for the information! I hope I can figure things out. I do have a sparkling new Mac so let's see if that helps the cause!

    Ellen

    ReplyDelete
  20. amazing! i've been meaning to find a reasonably explained tutorial for just this, and here you are, right on my fb page!
    thanks so much, can't wait to try it.

    ReplyDelete
  21. Hi Stephanie! Let me know how you get on - I love seeing other people's designs. I am planning a tutorial on drop repeats when I get a moment to write it.

    ReplyDelete
  22. I have been thinking about this very thing recently so you are a greatly appreciated. Not tried it yet, but it is bookmarked and ready to go when I find the right moment. Thank you so very much.

    ReplyDelete