3D Pixel Stretch Effects in Photoshop
Stretching a single line of pixels is an easy way to create special digital effects in graphic design. By taking this technique a step further, we can create wonderful, vibrant 3D effects right in Photoshop!
What We’re Making
In this tutorial, we’re going to stretch a single line of pixels to create beautiful 3D designs. You can get a glimpse of the design we’re going to make in the preview below:

Step 1 – Getting Started
Go ahead and create a new document (you may want to aim for something above 500x500px just so you have some breathing room for your work). Fill your background layer with a nice blue (#152935), or another color of your choice.
Now, go grab 3 photos that are filled with vibrant colors. I’ve included some pictures you’re welcome to use from here. The actual contents in the picture do not matter, we’re just interested in the color!
You can go ahead and open the photos in Photoshop, we’ll be using them soon.
Step 2 – Fade to Black
Create a new layer.
Using a large (500px), soft (0%), black brush with the Brush Tool, create a large black circle towards the center of your canvas. This will be used to help add depth to our design later on.

Step 3 – Selecting the Pixels
We need to copy a single row of pixels from one of our images. To do this, we’ll use the Single Row Marquee Tool (located underneath the Rectangular Marquee Tool).
In one of your photos, use this tool to select a row of pixels, and then copy (Edit > Copy or Ctrl + C) that row. Paste the copied row into your design in a new layer.
Step 4 – Transform a Row into a Rectangle
Using Transform, vertically stretch this row of pixels into a rectangle that is a bit more manageable in the canvas area. You should also horizontally shrink your pixels so that you have a rectangle of stretched pixels.
Stretching your row of pixels horizontally may be difficult without zooming in since you’ll only have a 1px bounding box to work with. An easier way to adjust this is to simply type in the values (something like 75%) for the transform in the options bar.

Step 5 – Duplicate, then Stretch Again
Duplicate this layer of stretched pixels. and then transform your new layer so that it’s quite longer than the original. It should remain the same width.

Step 6 – Creating the 3D Effect
We’re going to apply another transformation to our new layer. This time, it’s a bit more complicated, but I’ll try to make it very simple to follow.
First, align the bottom pixels of your new layer with the top pixels of your first pixel stretch layer.
Go into Free Transform Mode (Ctrl + T).
Grab the top middle handle, and drag it downwards to shrink the layer vertically. The two layers should still meet one another.
Hold Ctrl and click and drag the top middle handle again so that the top of the layer being transformed is offset from the bottom of said layer. The bottom of the layer should still touch the top of the first pixel stretch layer.
Finally, Hold CTRL + Alt + Shift and click and drag one of the top outer handles inwards so they meet in the center. This will give the illusion of a 3D box moving back into space.

Step 7 – Shading

We need to add shading to our new subject. I’d like to have it appear as if it is coming forth out of the dark center of our design. To accomplish this, we’ll be using Photoshop’s Brush Tool some more.
First, we’ll shade the front of our box using a soft, medium size (100-200) brush. Create a selection around the layer contents of your first pixel stretch layer (Ctrl + Click Layer Thumbnail).
Using a Black brush, paint around the edges of the box to give the illusion of lighting in your design.I especially focused my lighting towards the bottom edges of my box to make the light appear as if it came from slightly above.
Try to paint using just the edges of your soft brush so that the shading lightly darkens the box rather painting it completely black.
Now move this layer ABOVE your diagonal pixel stretch layer.
Select the layer contents of your diagonally stretched layer (which is now below your rectangle layer). Expand this selection by one pixel (Select > Modify > Expand).
Using a large, white brush, paint along the bottom of this layer to differentiate between the rectangle layer. Then, using a large, black brush, fade out the back of this layer so it blends into the background.

Step 8 – Repeat
Using different images (or at different parts of the same image even), create several more 3D blocks to create more interesting designs. Here is a combination I put together with the images provided at the beginning of this tutorial:

Vary the angles at which things extrude to give your design greater 3D perspective. You could also try making your blocks extrude from the bottom rather than the top!
Step 9 – Making Colors more Vibrant
After finishing the design shown above, I was not satisfied with the vibrance in the color. To make things brighter, I merged all of my block layers (Select them all in the Layers Pallete, then Layer > Merge Layers), applied a light Gaussian Blur (Filter > Gaussian Blur), and set the layers blending mode to Color Dodge.

Step 10 – Adding Texture
With texture, this design may look much nicer. Check out our Tutorial for adding Texture in Photoshop in just 3 simple steps. After finding a suitable paper texture, I achieved the following results:

Grab the PSD
As always, you’re welcome to grab the Photoshop Document to check out how we put the whole composition together! ![]()
195 Comments
David Leggett Thanks for Tutorial
Flag as inappropriatehttp://s56.radikal.ru/i152/1103/a2/dfe4aff2f6ab.jpg
Thanks for sharing this as a download, going to use this for a logo. I hope to show the result soon.
Flag as inappropriatethanks for tutorial. Love it, simple and effective
Flag as inappropriatethanks for tutorial. Love it, simple and effective :D
Flag as inappropriatevist for basic training of photoshop
Flag as inappropriatehttp://training4free.co.cc/Basic%20training/Basic%20training.html
Good Job. I like it
Flag as inappropriatethis is great! how did you do the font in the first photo where it says “Featured”
Flag as inappropriategreat work,very creative color sense,i love this site…thanks
Flag as inappropriateEverytime I do the Color Dodge, all the color is gone except for a few red stripes where certain colours used to be…. how do I fix this?
Flag as inappropriateI just tried this, but mine does not look any good. This is a great tutorial tough.
Flag as inappropriateomfg,that was freaking easy,but honestly i would never get thought of this kind of idea
Flag as inappropriateOh yes, she was amazed ;)
Flag as inappropriateThank God for Apple Mac and Adobe Photoshop
I saw this idea of pixelstrecthing and inspired me to try it out.
Flag as inappropriateAfter half an hour i became addicted and stayed in it. I have this printer which prints on 160 cm wide and since i’m recently in love (with a girl, yeah, yeah, photoshop too) i decided to make her a 126 x 90 cm poster for Valentine… Sure hope she’ll be stunned.
Check te result on http://bruisend.com/images/images_werk/vrij%20werk/lovetrain.jpg
It took me 6 hours cause i didn’t knew where it was going..lol
Excellent post. Thanks23
Flag as inappropriateExcellent post. Thanks16
Flag as inappropriateExcellent post. Thanks11
Flag as inappropriateThanks for your post , Great post.
Flag as inappropriatewow.. this is awesome…
nice work…
thanks,
Flag as inappropriateoOh!!! awsome
Flag as inappropriateThank you for an perfectly executed tutorial. Refreshing.
Flag as inappropriatelove it! Gosh i wish
Flag as inappropriateid found this place 2 yrs ago i taught myself n all though
it was satisfying there were times it all seemed daunting but now thx 2 tuts like this its easy lol
Gr8 tutorial 4me as a beginner in photoshop …. thx.. :)
Flag as inappropriateit’s a very nice & simple tutorial.
Flag as inappropriateThanks, this is great.
Flag as inappropriateHey
I tried making these boxes and the first time they didn’t really look all that good, but then I remembered that if you want to get a good perspecitve-drawing you should make a horizontal line with a dot as the center and then aim for that.
If you do that all your lines would end up in the same place and you can make boxes from different points of the page. At least it makes it easier to make it look realistic!
Thank you for this tutorial! :)
Flag as inappropriateInnovative design tutorial!
Flag as inappropriateI love ur tutorial n ya site
Flag as inappropriateVery Nice Done! love the results!
Flag as inappropriateawsome work!
Flag as inappropriategreat artwork, i like the crack thing! hehehe your paper texture thing… hehehe thanks again
Flag as inappropriateSimple and great!
Flag as inappropriatejen what did you use to make the bg and how did you get the whole range of one color
Flag as inappropriatewooooooowwwwwwwwww……….. man !!!!!!!!!! what a tutorial. i’m sure this website is gonna become the best in few days, cos i have learnt to make a 3 effect in just few minutes it’s absolutely great. thanx david thanx a million for making the job so simple and even a child can learn this lessons in a few minutes.
Flag as inappropriateWhen I’m doing pixel stretching, I make my own “Noise Gradient” so that I am able to pick my favorite colors and get it exact. Then, I just substitute a horizontally placed background with the gradient of my choice (though, like I said, noise works the best) for where you had a picture and then make a line as you did.
Whatever works for you! Just another option :)
Flag as inappropriateTotaly true “MyOpinion”……..it is about what YOU do with it to take it further!”
Flag as inappropriateThanks for the tutorial and inspiration David.
Here’s my outcome : http://i609.photobucket.com/albums/tt180/cre8iveconceptz/Graphic%20Design/graphic_art.jpg
I did these in like…..10 minutes.
I think it is an awesome simple tutorial. For those of you that don’t agree and find it a little simplistic–it’s really an inspirational tool…it is about what YOU do with it to take it further! Use your imagination folks.
Thanks David (or webmaster)
Flag as inappropriateawesome tutorial, i love this effect. check out my take on it for a possible website layout for an online community for photo/web/motion design. playing with some ideas at the moment…
Flag as inappropriatehttp://www.traceflow.com
this is an amzing amazin AMAZIN site..thank u so much!!!:)
Flag as inappropriatecool and sweet tutorial!!!
Flag as inappropriatecool…
Flag as inappropriateSweet tutorial! I remember experimenting with pixel stretching back in the beginnings of my Photoshop days. I think it’s time that it makes a comeback.
Flag as inappropriateThank you. This is a eassy way creat a beautiful 3d immage
Flag as inappropriateexellent performance and easy way to learn ! Thx a lot !
Flag as inappropriateI like your work~ Great~
Flag as inappropriateI think these tutorials are the best so far I’ve come across. I’m now doing the impossible with the PhotoShop. It’s so amazing trying to do something on your own. I feel gr8 when i do something which i fail 2 do earlier. I’ll be back with more stuffs.
Flag as inappropriatelol “the PhotoShop” just “Photoshop” is fine
Flag as inappropriateSimple but effective. Very nice. And I love the video tutorial. Wish more sites did that.
Thanks again!
Flag as inappropriatenice work….i loved your colorfulll tutorial……simply vibrant!!
Flag as inappropriateGood Tutorial, I read it for Gimp 2.0 about 1 month ago on Pixel2Life :D
Flag as inappropriateThat was a great tutorial, I like how you inserted different screencast in between explanations
well done David
Flag as inappropriateNice tut, thanks. :)
Flag as inappropriateI’d like to suggest another way of making stripes using Noise Gradient Type. No need to look for a photo, and no need to worry about its size. :P
Here is what I mean http://demiart.ru/forum/uploads2/post-7020-1222962315.jpg
Gr8 Tuition. I’m gonna try this on all my pictures and put them on my website.
Flag as inappropriateI need to check this soon :D GREAT Tutorial!
Flag as inappropriateplease help my email is tom_ere_2008@hotmail.co.uk
Flag as inappropriatehi nice tutorial but erm i cant do the last step i dont know why but i just cant i dont understand how u do it help please
Flag as inappropriateSome I did…
http://www.flickr.com/photos/30010412@N06/2823456649/in/photostream/
http://www.flickr.com/photos/30010412@N06/2823400219/in/photostream/
http://www.flickr.com/photos/30010412@N06/2820959239/in/photostream/
Thanks!
Flag as inappropriateDear David, following this and some other tutorials, i made this http://www.flickr.com/photos/29996792@N06/2805551653/
Flag as inappropriateThanks for the great tutorial
Great effect David. I thought I’d see how it would work as a http://farm4.static.flickr.com/3286/2769424328_93dc1dfe4f_o.jpg“.display effect for the original photo.
Flag as inappropriateCan i do it? It looks great to look at it.
Flag as inappropriateIts a nice tutorial but i think u need to simplify a little bit for the new people, it gets confusing at stage 5 and its very difficult to follow but thanks anyway i would appreciate if u add some work flow pictures so everyone can understand easily
Cheers
Flag as inappropriateHey, rockin’ tutorial! Very easy with a very neato result. =D
Flag as inappropriateI’m already getting ideas, and it’s been awhile since I’ve been very creative. (like a year, lol!)
@David Leggett:
Well, I sometime think i’m more a technical person than an artist. But hopefully it doesn’t take me a lot to get a “creative flow” . Thanks to great tutorials like yours, I can use the technical knowledge i have to create something more artistic !
Anyways, thanks to stumbleupon that i’ve found your website!
Flag as inappropriate@MeckaLecka:
Flag as inappropriatePardon me…mine didn’t look like any of the others even though I followed the tutorial and embellished a bit. *Whatever*
@Vj homing: Nicely done Vj homing! I’m very impressed with what you’ve done there. Never would have thought to do something like that when I had this tutorial in mind.
Good work mate ;)
Flag as inappropriateGreat tutorial. I took the “2D” idea. And made it in “Real 3d”.
Brought All this In after Effects. Few hours Later: here is the result:
http://vimeo.com/1526412
Flag as inappropriateThis was a fun tutorial. Here’s what I got messing around. ;-)
Flag as inappropriate[IMG]http://i47.photobucket.com/albums/f180/AgAg10/pixstretchtut.jpg[/IMG]
Wow, great effect. It’s not that hard, but it’s just you have to come up with stuff like that. Oh and btw, Tut9, the first time I visit and must say: nice Out/infocus header, I love it. ;)
Flag as inappropriate@Grylls: That’s a much better idea Grylls. I appreciate the insight.
We’ll need to write some Tutorials covering clever uses of masking. It’s a great way to preserve data – and a wonderful time saver.
Thanks again!
Flag as inappropriateThe end product looks good, but instead of using a black brush to fade the boxes you should probably use opacity masks; that way if you decide to change the background of the image you don’t have to worry about the brush strokes showing up. Plus, it is the correct way to achieve that effect.
Flag as inappropriateExcellent.
Flag as inappropriate@Tyler Bramer: That’s freaking awesome mate. Love the way you applied it to the text ;) That’s some nice shading you’ve done. The hanging paper clouds are a beautiful touch at well. Makes me feel right at home!
Flag as inappropriateHere’s my recent creation using this technique!
Flag as inappropriatehttp://flickr.com/photos/tylerbramer/2739163667/in/pool-741719@N20
Nice, pretty and simple :)
Flag as inappropriateGreat! I am sorry for not making note of that! Glad you got things to work out on your end mate ;)
Flag as inappropriateAh, thanks! I found out the best way to do it now (at least it worked the best for me): first skew it and change the perspective, then apply. Then change the size and apply. :)
Flag as inappropriate@Me0w – It actually isn’t a matter of me not showing something – but I definitely should have made an important note there. When you’re transforming objects in Photoshop (that are not vector based), you’re going to get some jaggies. The best way to cure those are to either make one bit of a transformation at a time (ie: change the perspective -> Apply Transformation. Change the size -> Apply Transformation), or otherwise REDUCE the entire size of the transformed layers after the complete transformation. To keep the video short, I did both transformation steps in one swift move without even taking that into consideration.
Hope that helps mate!
Flag as inappropriateThis tutorial is great until step 7, where you obviously do something that you don’t show. When you transform the box inwards to create the perspective, it gets all pixely like it also does on your first picture. But then, it’s magically non-pixely? How did you do that? The shading doesn’t solve it fo’ sho.
Flag as inappropriatehttp://www.tutorial9.net/photoshop/3d-pixel-stretch-effects/
Because I won’t be checking back for replies:
Flag as inappropriatehttp//www.appleswitch.com/
Really nice original effect and great tutorial – really easy to follow.
@Nate – I totally agree with David – If you don’t like it then say why? what is there not to like about this very cool effect?
Flag as inappropriategreat tutorial, thanks. my only critiques are that for the final step i had to open the final psd to figure out that you duplicated the objects before applying color dodge. otherwise the image just goes darker.
also the videos were helpful but step 7 could’ve used one too cause you sort of lost me there. i just improvised myself with a bit of black brushing.
Flag as inappropriatenice tut!
Flag as inappropriate@ J.T. Shaver – Just be cautious about making things too dark. I mean, it’s all up to you of course, but in my experience, the darker designs often come out MUCH darker than expected on paper.
@Michael Wilson – The same is easily returned back to you and some of your awesome work mate ;)
Flag as inappropriateSimple to follow and great result!
Flag as inappropriateThanks!
Great Idea very nice!
Flag as inappropriateThanks :)
Nice Work !!!
Flag as inappropriateVery cool! I might use this on my next business card design.
Flag as inappropriatewonderful tutorial and nice touch with the mini vids, they helped.
Flag as inappropriateDavid:
Wow. You impress me way too much. Such an original technique, I expect to see this on my bus advertisements in a few months now!
Flag as inappropriateIt’s going to depend on what colors your block is and what colors are in the background. Another way you can brighten them is to duplicate your block layers and set them to overlay or color dodge.
Flag as inappropriateNice tutorial.
Flag as inappropriateJust step 9 cofuses me. When I cange the mode to color dodge, the blocks just dissapear!
It would be great if someone could help me…
cool idea, thanks
Flag as inappropriatelooks smple to do, but great is the effect
cool :)
thanks
Flag as inappropriateI really enjoyed this tutorial. Nice work David!
Flag as inappropriateReally nice effect!
Flag as inappropriateWith most tutorials I don’t think it’s a case of what you end up with, but what you learn on the way. Great tutorial with a nice effect, especially the texture. Thanks!
Flag as inappropriateWell David, I might not find it that good either, but I think it’s only because I can’t just yet figure out where I could use this effect, which really has nothing to do with the tutorial itself, so don’t worry ;) I just ran through it, but I think that after this one, at least I’ll understand how to use the Single Row Marquee Tool!
Flag as inappropriateNice one David, very nice looks amazing! Great techniques here too.
Flag as inappropriateAmazing tutorial!! Realli thanks for this post.
Flag as inappropriateAnother great tutorial david, i actually enjoyed this something that can be used for various of ideas. Love how this tutorial slightly carries on with the other (Textures).
Good Job!
Flag as inappropriateLet’s see where I’m going to use this great technique next time ;)
Thanks a lot!
LBrother
Flag as inappropriate@ Nate – It’s all good mate, I’m can’t always expect to please everyone. But in the future, I’d appreciate it if you could help point out what might be able to be improved upon (if possible).
Thanks everyone :) Glad a bunch of you found this tutorial enjoyable!
Flag as inappropriateSorry if I sound unfair, but I don’t find it that good…
Flag as inappropriateGreat turorial! I like it very much.
Flag as inappropriateGreat tutorial David! Nicely done.
Flag as inappropriateWhaw it’s amazing.
Flag as inappropriateCan’t wait to try it!
Dude, that’s dope!
Flag as inappropriateWalla! How coooooooooooool. Your effects are beauty and easy to do. Perfect!
Flag as inappropriateGreat tutorial. Simple and quick to do with an awesome result.
Flag as inappropriate