preview

How to Create a Rainy Window Vector Background

Download Source Files

Using the Symbolism Tools, plus a bit of Gradient Mesh, learn to make a realistic window covered with raindrops. This is an advanced tutorial that assumes a fair amount of Illustrator experience, but everyone should be able to follow along. It can be done with earlier versions of Illustrator, but takes full advantage of newer features in CS4. Let’s get started!

Republished Tutorial

Every few weeks, we revisit some of our reader's favorite posts from throughout the history of the site. This tutorial was first published in August of 2009.

Final Image Preview

Below is the final image we will be working towards. Want access to the full Vector Source files and downloadable copies of every tutorial, including this one? Join Vector Plus for just 9$ a month.

Tutorial Details

  • Program: Adobe Illustrator CS4
  • Difficulty: Intermediate to Advanced
  • Estimated Completion Time: 1.5 hours

Step 1

Create a new document 11 inches by 8.5 inches. It can be CMYK or RGB, whichever you prefer. Before beginning, set up a color group of about eight different blues. I will refer to these colors as “1″ for the lightest, “8″ for the darkest, and the others numbered accordingly.

Step 2

Draw a square the same dimensions as your artboard, and fill it with a medium blue from your color group. Go to Object > Create Gradient Mesh, then enter 6 rows and 6 columns.

Step 3

Now manipulate the mesh points to create an amorphous, abstract background. Click individual mesh points and color them with different blues from the color group. It doesn’t have to be complicated. This will serve as an out-of-focus landscape or cityscape in the distance.

Step 4

Lock the layer with the background on it, and create a new one above it. Draw several circles of various sizes, and place them randomly above the background. Fill the circles with some of the lighter blues, and change the Opacity to 60% – 80%. These circles are meant to look like lights in the background.

Place lighter circles over the lighter areas of the mesh, and more transparent ones over the darker areas. Select all the circles and go to Effect > Blur > Gaussian Blur. Enter 4 pixels. Select a few circles and change the blur to 6 pixels.

This will give more depth to the “lights.” It’s okay if some of the circles fall off the artboard &mdash you can trim those later. The illustration should look like the image below.

Step 5

Lock the circles layer and create a new one above it. Draw an ellipse, and fill it with a four-stop radial gradient like the one below. Adjust the gradient so that the white is at the bottom edge of the ellipse. The Gradient Annotator in Illustrator CS4 makes this somewhat easier, but you can achieve the same result with earlier versions.

Step 6

Apply an Inner Glow to the ellipse, as below. Note: This step is optional. Raster effects may use more processing power, and thus slow things down. Proceed according to the speed of your computer.

Step 7

Draw a long, somewhat thin ellipse, and fill it with the lightest blue (Blue #1). Go to Effect > Warp > Arc, and enter the values below. This will be the highlight of the raindrop. Place the warped ellipse over the gradient-filled ellipse you just created.

Arrange it at the top and rotate it off-center. Enlarge or reduce it to fit the raindrop. When it looks good, go to Object > Expand Appearance. Apply a radial gradient to the highlight, as below, and change the Blending Mode to Screen.

Step 8

Duplicate the original ellipse, send it behind, and fill it with a subtle, dark linear gradient. Change the Blending Mode to Multiply and the Opacity to 80%. This will be the shadow of the raindrop.

Step 9

Duplicate the raindrop twice. Adjust the gradients on each; One will be a lighter version of the original, the other will be a darker version.

Step 10

Drag each drop into the Symbols panel. Choose Graphic as the Type, and name each new symbol if you like. I named mine “Droplet Light,” “Droplet Medium” and “Droplet Dark.”

Step 11

Now that you have the symbols created, tear of the Symbolism Tools by clicking and holding the Symbol Sprayer Tool (Shift + S). Move your mouse over the vertical tearoff bar, then release. This will make it easier to use the various symbol tools. Trivia: All the Symbolism tools start with the letter ‘S.’

Step 12

Select the Symbol Sprayer Tool, click on the lighter droplet symbol, and drag the cursor across the top third of the illustration. Spray a few symbols, then Command-click to deselect and start another group.

Loosely cover the top third with droplets. Do the same thing for the middle third, and the bottom third, using the respective droplet symbols for those sections (medium and dark).

Change the diameter of the tool, if necessary, by pressing the right and left brackets. You will end up with several symbol instances, and your illustrations should look something like the image below.

Step 13

Now select the Symbol Sizer Tool. Randomly click on the symbols to change their size. Hold down the Alt key to reduce the size. You want to end up with lots of different sizes of raindrops. It may take a few tries to get the hang of it. Try clicking directly on top of a droplet to change its size. To further randomize the symbols, use the Symbol Shifter Tool to move them around.

Step 14

You can duplicate individual symbol instances, and re-size them as a group. Try squishing some of the drops so they are longer than they are wide. It’s up to you how wet you want your window to be, so make as many copies of the symbol instances as you like, then rearrange them to look random and natural.

Once you’re satisfied with the raindrops, expand the Symbols by going to Object > Expand. This will result in individual symbols, so go to Object > Expand again to release the symbols to objects.

Step 15

You can now make final tweaks to the raindrops. Randomize the size and placement, and separate drops that overlap. Your illustration should look something like the image below.

Step 16

Now for some finishing touches. Make a new layer above the “circles” layer, and below the “drops” layer. Use the Blob Brush Tool (Shift + B) and draw a few loose drips, starting at the top of the page.

Fill the shapes with a dark gradient (Blue 8 to Blue 6), and change the blending mode in the Transparency panel to Soft Light. Adjust the gradients so that the drips fade into the window pane.

Conclusion

Press the right bracket key to enlarge the diameter of the Blob Brush and, if you like, draw other shapes or words on the window, as if you are making marks with your finger on a wet window. Finally, trim off the circles and drips that extend beyond the artboard, and you’re done!

Subscribe to the Vectortuts+ RSS Feed to stay up to date with the latest vector tutorials and articles.

  • http://simon.vansintjan.org Simon Vansintjan

    I’m not so impressed with how the bubbles stick on the window. I think they look too round? I’m not sure, to me they look a bit glued on.

    However, the over all effect is impressive, especially with the simple techniques that you used and showed. I really like the misty and water trail effects that you added as ‘final touches’.

    Thanks for this tutorial.

    • Cheryl

      Simon, you’re right about the bubbles/water drops. I happened to be driving through a car wash yesterday, and noticed that the highlights on the water drops on my windshield were at the bottom, because the light was coming from the top and “collecting” at the base of the drop. I suspect that the shadows on the droplets also contribute to the “glued on” look. Goes to show that one should always observe the natural world when attempting something realistic in Illustrator. Thanks for the comments :)

  • ktyellow

    your very good tut, I could help some things I have done, thank you very much.

  • Niek

    i agree with Simon Vansintjan.

  • Kdmtmm 7.2 GHz

    Awesome!! I cant even manage to pull out something 1/4th as creative as that.. kool!!

  • vTTor

    Great tut look like a picture, thanks for these tips !!

  • Melody

    They do look glued on, but it showed how to use some tools I don’t usually think about.

  • http://www.awalkinmyshoes.com Melody

    Very cool, like the water trails..would’ve been nice if it looked a lil more “organic..”

    Nice tut though.. :)

  • http://metaopic.net Adam Webster

    Very nice tutorial I will try it out.

  • Kopo2009

    I think that the final effect is really impressive, but if you look carefully you’ll see that drops have different perspective, like on a window (vertically) or laying on a floor (horizontally).

    Anyway, very nice tut. Thanks!
    “(°O°)”

  • xmxchick

    I love the idea. =] And I’ll definitely use it.

    Melody, you mean natural. Organic means w/o chemicals

    • anon

      [xmxchick: Melody, you mean natural. Organic means w/o chemicals]

      organic:

      1. characterized by the systematic arrangement of parts; organized; systematic: elements fitting together into a unified, organic whole.

      2. of or pertaining to the basic constitution or structure of a thing; constitutional; structural: The flaws in your writing are too organic to be easily remedied.

      And that’s just 2 of the half dozen definitions easily found on Dictionary.com. Melody used the word correctly. *Sigh* at public school systems. It’s sad that someone would think that word was invented solely for food.

      Also I really enjoyed the tutorial. It may not be perfect, but it was neat. The water drip lines at the end are a fantastic touch.

  • http://spotdex.com David Moreen

    This is hot, I mean wet, umm… Very nice tutorial. It introduced some new tools and techniques, that I can improve on, and then later implement them into further projects.

  • http://www.elmastudio.de Manuel

    What a wonderful Tutorial, congratulations and thanks a lot for sharing this :)
    I will do some wallpapers and using some of these techniques , @_@
    great stuff, :)

  • donjuan

    ehmm this is nice thx!!! nice outcome… definately helpful

  • http://www.crearedesign.co.uk/ rory

    Great stuff! Very realistic, loving the colours you have used. The droplets may be a little ‘flat’ but the technique behind them is spot on. Overall fantastic tutorial cheers

  • http://picatalks.wordpress.com pica-ae

    wow, thats pretty awesome
    it looks totally perfect!

  • Tolana

    I never considered using the gradient mesh to create just a background. It’s so easy too! Thanks!

  • http://impress-design.com Jack M

    That’s awesome. Thanks.

  • http://nikhilmisal.com Nikhil

    Great looking….
    Really awesome..

  • vishaka

    Thanks. It´s a simple and very nice idea. I will definitely use it ;)

  • http://www.laboratoryzero.com sean steezy

    This has a great outcome, and FINALLY, someone uses the symbol sprayer tool the way it was meant to be used. It has many possibilities, this just scratches the surface. nice work!

  • http://vbastellif.artician.com Vanderlei Bastelli Filho

    i will try this, today is my 3rd year with my girl, i will make her a surprise, with this glass…

    thanks for tut

  • http://tuts.cgbaran.com/ CgBaran Tuts

    I can really feel a female touch on design excellent work

  • Nimmy

    Wow! its awesome and great looking… I will try it out.

    THANKS for this tut

    • Nimmy

      i am crazy about this tut.

  • New2Vector

    While the drops may not look entirely realistic on the window, the tutorial itself was amazingly helpful in learning new techniques and tools such as the symbol sprayer, shifter, etc. I’m definitely learning a lot by doing these. I can’t thank you enough for this amazing tutorial!

  • http://www.cosabuhh.com veronica

    its SOOOO GOOD :) thanks for this tutorial i thinks its amazing :)

  • http://obuzzdesigns.in/ Erick

    that’s great !

  • Panos

    It is a good tutorial but I would use 0% opacity instead of color in all gradients. In that way I could use them in every background without needing of changing colors everytime.
    Here is an example.
    http://i288.photobucket.com/albums/ll198/statelis/drops.jpg

  • eugi

    I don’t understand Step 3 -.-’

    • Tricia

      Eugi – Try one of the gradient mesh tutorials which should explain step 3 for you. There was one recently “How to Create a Mesh Flower in Illustrator” It’s labeled intermediate. There was also one last year – ” Illustrate a Pair of Sweet Gradient Mesh Cherries” I think they might help you understand this step. It’s a great idea to use gradient mesh for a background – I doubt I would have thought of it without this tut

  • http://www.dijup.com.np Dijup Tuladhar

    very nice one!

  • http://www.imfernando.blogspot.com imfernando

    Nice tutorial…

  • Allysia

    hello

    how do you do step 3 manipulate the mesh points?
    i dont get it

  • sanket

    hey allysia
    i knw tht
    giv me ur email add
    i will explain u ….how to do tht….ok

  • edward vega

    i dont even kno how to get into step two?
    did you color the square you drew with a brush?

  • coolbrain

    i think u about “missing” 1 step.
    how about circle that been outside of the box “circle layer”
    i mean, finishing for them. -.-”
    thx.

  • Tristan

    i can’t figure this out! i do step up with the gradient mesh and as soon as i tell it to do 6 and 6 it turns my square black!!! GRRR frustrating!!

  • Milko

    its cool!..thanks:::!!!

  • Amin

    nice one…..thanks a lot

  • Matt mcdonald

    Very nice ! Made my Nottingham forest badge look brilliant!

  • http://www.natness.com Natasha K

    Wow! This looks so cool! Can’t wait to get home and try it out… Tempted to do Titanic-style window with this =)

  • swarn

    this is ausome…….man………………………………

  • Ally

    Thanks Cheryl, this is a great effect, like nothing I’ve seen done before in Illustrator!

  • Raúl

    it’s the first time i use Illustrator and coud finish, really nice and easy! but i’ve got a final ‘problem’, very stupid thing but..how do i trim off the circles and drops that are half outside the window? as i said, i am new in this, thanks

  • Arsalan

    i did not get this ,,,

  • http://asiyanewway.blogspot.com/ A.B

    Love it! Thanks.

  • http://www.welogodesigner.co.uk/ welogodesigner

    really cool and great tut. Thanks.