Home > General > Inkscape Tutorial – Reflection

Inkscape Tutorial – Reflection

March 12th, 2007

Recently I found a nice tutorial at BittBox about making reflected images, like the one below. That tutorial is for Adobe Illustrator so, I converted it to inkscape and am posting it here.

Reflected Image

Disclaimer: This tutorial is a Inkscape version of
Web 2.0 Logo Reflection in Vector format with Illustrator

Start with a new document in Inkscape and write some text

Plaing Text

Now, clone image by pressing Atl+D (or Edit -> Clone -> Create Clone)

Clone Menu Entry

Press V to flip the cloned image vertically and move it below Original Image

Text + inverted text below it
Pick the rectangle tool (or Press F4) and cover the cloned image with it.

Inverted image covered with rectangle
Set Black to White gradient on rectangle, from gradient tab in “Fill and Stroke…”

Gradient filled rectangle covering inverted image
Pick up the gradient tool (or Press Ctrl+F1) and change gradient direction as shown below.


Select both rectangle and inverted text behind it (you can select the text below by Alt+Click or by selecting original image and pressing Tab, then press Shift and click on Rectangle). Then goto Object -> Mask -> Set

Mask menu entry
This would make your text look something like this

Reflected Image

Your reflected text is almost complete, now just select the inverted text and change it’s opactiy level (by going to Object -> Fill and Stroke…) according to your needs

As you cloned image, instead of copying and pasting it again, any change you make to original text will be reflected in the reflected text :) Like:

Reflection in red

If you face any problem while following this tutorial, don’t hesitate to let me know.

Download Reflection.svg

Related Posts

Aqeel General , ,

  1. March 30th, 2007 at 07:14 | #1

    Thanks for the tutorial. Very simple :)

  2. April 11th, 2007 at 21:46 | #2

    Great tutorial thanks very helpful for this inkscape n00b.

    PS. Your download link is busted ;)

  3. April 12th, 2007 at 02:04 | #3

    Thanks MAsKrA, link is fixed now.

  4. Raja
    May 28th, 2007 at 18:08 | #4

    Great Tutorial. It is simple but simple is good.

  5. kumar
    June 25th, 2007 at 15:09 | #5

    well, i am the unlucky one. I tried different ways. But every time, it gives me white mask instead of transparent one. Instead of reflection, i get a white box. Only once i could get it. Rest times, its just white box below the text. Dunno where the mistake is. Inkscape 0.44 v

  6. kumar
    June 25th, 2007 at 15:30 | #6

    hmm.. some how got it. Linear gradient is not working for masking. Without gradient (ie with solid color), masking works ( Inkscape 0.45)

  7. reinhard
    July 3rd, 2007 at 02:18 | #7

    hello, unfortunately it doesn´t work here. same problem as ‘kumar’, only i never got it working :( as soon as mask-set is selected, the text disappears and obviously gets masked white. with solid color it does work. could somebody please give me your comments? i am quick to go bezerk on those things :)

  8. reinhard
    July 3rd, 2007 at 02:32 | #8

    i thought an upgrade would fix it, but unfortunately it still doesn´t work. still a white mask where reflection should be.. :(

  9. reinhard
    July 3rd, 2007 at 02:35 | #9

    it´s mac osx 10.4.10 and inkscape v.45

  10. July 3rd, 2007 at 10:26 | #10

    reinhard, I would have to check it, but unfortunately, I am busy with my exams (finals!). Would try it in a day or two.

  11. reinhard
    July 3rd, 2007 at 13:34 | #11

    thanks, aqeel. kindly let me know what you think.. and good luck :)

  12. July 6th, 2007 at 12:56 | #12

    reinhard, I have tried reproducing the error but no luck, can you explain in bit more detail what exactly you are doing?

  13. reinhard
    July 7th, 2007 at 19:09 | #13

    thanks for your response, aqeel. i have just tried again and followed every step in your tutorial exactly the way you describe it. i also downloaded your .svg file, which is displayed right, but reproducing it the same way in the same file also doesn´t work. i assume there is a different point to the problem, as with solid colors (and not black) masking works perfectly and the results look similar, only not as bright.

  14. reinhard
    July 7th, 2007 at 19:11 | #14

    but i´m happy with the results using solid colors right now. i just wonder if the problem will pop up again with a different function. i´ll let you know :)

  15. July 7th, 2007 at 20:09 | #15

    Hmm… well, good luck :) I would see if I can find anything.

  16. reinhard
    July 9th, 2007 at 13:21 | #16

    thanks again, aqeel!

  17. July 16th, 2007 at 09:24 | #17

    Nice tutorial…Though when i use the black gradient…it turns to white…but when i use a different color it works…but as reinhard said…it ain’t shiny…but my satisfied with the result…

    chow…yeah i used the inkscape 0.45.1-1…

  18. Kishore
    July 19th, 2007 at 19:57 | #18

    Thanks alot.
    It works great..

  19. July 31st, 2007 at 17:52 | #19

    Hello! Good Site! Thanks you! zzxbmljfrmam

  20. August 5th, 2007 at 13:56 | #20

    sai baba charithra kavali

  21. Ivan Bogardi
    September 10th, 2007 at 15:35 | #21

    Pick up the gradient tool (or Press Ctrl+F1) and change gradient direction as shown below.”

    I suppose, you mean that duplicate the rectangel and change the gradient on the new one?

    “Select both rectangle and inverted text be
    hind it ”
    I cannot see, what happens, the rectangel over hidden exerything. “inverted?” maybe flipped text, or I missed something?

    “(you can select the text below by Alt+Click or by selecting original image and pressing Tab,” I couldn’t see before I moved out the text, but I can’t see any difference when I Alt+Click or only click: the selection-Arrows only alternate between scale and rotate.

  22. Cycu
    October 2nd, 2007 at 04:41 | #22

    Thanks a lot! This tut really helped mi. Cheers.

  23. October 5th, 2007 at 23:38 | #23

    Thanks for the tutorial, Aqeel!

  24. Raman Behl
    December 4th, 2007 at 04:15 | #24

    I dont have any background knowledge of using these softwares but trying to learn inkscape on my own, can you please send me the tutorials for the same. some thing which is structured

  25. March 5th, 2008 at 23:07 | #25

    Very easy with you technical instructions, thanks you

  26. March 20th, 2008 at 11:37 | #26

    see also http://o-server.dyndns.org/inkscape/english.html

    this website shows how to draw with inkscape

  27. May 4th, 2008 at 06:06 | #27

    I had a problem also when applying the mask, turns out the problem is to do with using transparent colours in the gradient just ensure that you use a solid white for one of the end points and all should be fine.

  28. cuvant
    June 13th, 2008 at 02:41 | #28

    Hi, 10x for the tutorial. For anyone who wants to make some changes, here are some that I did, and looks ok:

    1. When you make the rectangle (on top of the text clone). After you made it, drag the left and right side until you reach the page borders. This is very useful because if you need to change the text, or someone else wants to change the text, and the “new” text has a longer length, then the x last characters will not have the reflection.

    2. After I did the reflection, I select it and go to object -> transform -> skew (45 deg). After i give it a blur (2,6). And that really looks like a cool shadow.

    3. You can stroke the first text after all this steps and you`ll obtain an even more sofisticated shadow, or relfection.

  29. sreechand
    June 29th, 2008 at 13:31 | #29

    Thanks a lot for the tip. One important thins is the gradient needs to be from solid black to “SOLID” white not the default transparent stop you get in the Inkscape. The “SOLID” white is required for the mask to work properly. Thats’ why a few others seem to have issues. Thanks again.

  30. mwk
    June 29th, 2008 at 20:31 | #30

    It so nice to share

    Merci!

  31. Doli
    July 3rd, 2008 at 13:56 | #31

    I feel like hugging you… no seriously i am a beginner but people like Tavmjong Bah, nicu and the people who blog here have made my experience with inkscape memorable… Thanks a lot :) I love Linux and all that comes along with it :)

  32. July 18th, 2008 at 22:38 | #32

    Inkscape tutorials are also available here
    http://o-server.main.jp/inkscape/english.html

  33. July 23rd, 2008 at 14:24 | #33

    sory i’am a newbie in using inkscape, can you help me

    to give me some e-book or magazine or tutorrrr about effect in inkscape how to make a vectorr and etc

    cuz i’m very intreasting with inkscape plizzz help my troubleee

    yuo can send at junior_chef21@yahoo.com

    pliizzzzzzzz i’m realy need that

  34. Mike Raynham
    December 3rd, 2008 at 00:23 | #34

    Quite a few people have experienced the problem where mask simply reveals the text beneath, and the gradient disappears, or where both the text and the gradient disappear.

    First, you must ensure that “Move gradients (in fill or stroke) along with the objects” is turned ON. This prevents the mask from disappearing, leaving just the text. See here:

    http://tinyurl.com/6fl8gx

    Second, as mentioned in some other posts, you must use a solid gradient – ensure that neither stop is transparent. This prevents both the text and the gradient from disappearing when the mask is applied.

  35. Inknewbie
    July 1st, 2009 at 22:03 | #35

    Great Tutorial!
    If I understand the last step right, you can just change the text and the reflected text will be changed, too? For me, it doesn’t work (I cloned the text as described above) but the reflected text doesn’t change.
    Any ideas to solve the problem?

  36. July 1st, 2009 at 22:17 | #36

    @Inknewbie
    When you make a clone, any changes made to the original reflects on the clone too, but if you change the clone, original object doesn’t change. One possibility is that you may have moved the original object instead of the clone. Try changing the text in second object and see if it changes the first.

  37. Inknewbie
    July 2nd, 2009 at 00:46 | #37

    OK, it was my fault. I used duplicate (ctrl+D) instead of clone (Alt+D)

  1. June 20th, 2007 at 15:53 | #1
  2. June 21st, 2007 at 23:35 | #2
  3. June 24th, 2007 at 07:18 | #3
  4. July 21st, 2007 at 20:37 | #4