I want to learn! Is this a Photoshop thing?
― Mr. Snrub, Monday, 28 September 2009 02:39 (eleven years ago) link
It's a Photoshop thing.
It can potentially be very complicated, but here's a simplified tutorial:
1) In Photoshop you can have different layers. For a super easy animation, create two layers. Fill one in black, fill the other in white. (or red and blue, or whatever).
2) Add the animation toolbar to the mix by going up to Window and clicking on "animation".
3) By default, you have one frame. Add a second by clicking on the "duplicate selected frame" button on the animation toolbar.
4) Now you have two frames. Now all you have to do is choose which layers you want to be visible in each frame. Click on the first frame in the animation window to select it. Now, uncheck one of the eyeballs in the layers menu so that just one layer is visible for the first frame.
5) Now click on the second frame in the animation window, and check/uncheck eyeballs in the layers menu so that the other layer is showing.
6) Adjust the timing of the frames in the animation window.
7) Save as an animated gif by going to File and choosing "Save for Web & Devices"
― smell the reality of coffee (Z S), Monday, 28 September 2009 03:03 (eleven years ago) link
See if you can create a flashing box like that, and when you get there, I can show you some tricks if you want.
― smell the reality of coffee (Z S), Monday, 28 September 2009 03:18 (eleven years ago) link
OK, so step one: How do I get my hands on a copy of Photoshop?
(reads Wikipedia article entry for Photoshop)
And should I get Photoshop CS3 or CS4?
― Mr. Snrub, Tuesday, 29 September 2009 02:01 (eleven years ago) link
hahaha, oh shit, I was afraid that would happen.
Can't help you there, although I'd advise you NOT to purchase Photoshop just to try your hand at animated gifs. It is...several hundred dollars if you decide to purchase it.
― smell the reality of coffee (Z S), Tuesday, 29 September 2009 02:06 (eleven years ago) link
Oh, I can get Photoshop. That's no prob. My question is which edition should I get. Is Photoshop Esssentials what I'm looking for? That seems a bit easier for the novice.
― Mr. Snrub, Tuesday, 29 September 2009 10:58 (eleven years ago) link
I always did it with this free program Beneton Movie GIF from http://www.benetonsoftware.com/ and MS Paint.
― Zachary Taylor, Tuesday, 29 September 2009 11:05 (eleven years ago) link
gimp is pretty aggravating but making animated gifs is nearly identical to Z S's photoshop instructions:http://www.gimp.org/tutorials/Simple_Animations/
but i suspect there are some photoshop-specific pro tips Z S has to making spectacular animations!c'mon Z S, spill them!
― Philip Nunez, Tuesday, 29 September 2009 17:34 (eleven years ago) link
To be honest, everything I do in Photoshop is really simplified and basic because I don't really know what I'm doing! Along the same lines, I'm sure some of the ways that I do things are really dumb and could be easier, and I just don't know it. I mainly just pull from the same bag of moves, maybe 4 or 5 total, and combine them in different ways. I'm willing to put together some relatively simple tutorials here with pictures, but it would only be helpful for beginners like myself because I don't know really know much advanced stuff (ie, using channels, layer styles, etc). So in other words, I'm apologizing in advance to anyone who actually knows what they're doing.
I haven't started on them yet, but I'm thinking they'll be built around the theme of Kirk Cameron eating tacos.
― smell the reality of coffee (Z S), Tuesday, 29 September 2009 23:34 (eleven years ago) link
STEP ONE: OBTAIN ONE KIRK CAMERON
One of most common tasks you'll face is cutting out a person/object/scenery from one image and placing it into your animation. It pays to put a little thought into which image you'll steal use. Since we want Kirk Cameron eating a taco, it'll help if there's a clear shot of his mouth, and if his mouth is easy to manipulate. Other things you want to look out for are
Instead, let's use this one:
God, what a douche. It's not perfect, but it has the bonus of having a white background which makes it easier to isolate and extract him.
― smell the reality of coffee (Z S), Tuesday, 29 September 2009 23:55 (eleven years ago) link
STEP TWO: ISOLATE AND EXTRACT
Go ahead and open kirk.jpg in Photoshop.
uuuuuuh, that's weird, I got this error:
Gotta say I've never encountered that before, but to fix it just go up to View and uncheck "Pixel Aspect Ratio Correction".
To isolate and extract, all we need to do is select him and copy and paste him into another image. I'm going to "draw" the area I want to select by using the lasso tool, which is the second from the top on the left side of the Tools. Within the lassos, there are three choices: Lasso tool, Polygonal Lasso Tool, and Magnetic Lasso Tool. Magnetic tool can come in handy (especially when you have a monochromatic background like this), but for now I'll use the plain old Lasso Tool.
Make sure the feather is set a 0 pixels, and zoom in if necessary so you can be more precise. Now carefully outline Kirk. Here's my first go at it:
I did a decent job, overall, but I kind of fucked up around the face. I wasn't perfect on the shirt, either, but that's not so noticeable. So I'll just clean up the lasso selection around the face. On most of it, I'm cutting into his face a bit too much, so I need to add to the selected area. To do this, I switch to "add to selection" setting for the lasso. It's the second button from the left in the circled area below:
FYI, the first button lets you create a new selection (it's the default), the third button lets you subtract from an area, and the fourth button is probably useful but I am scared of it and don't touch it.
Now, with the "add to selection" button in play, I fill out the rest of Kirk's face. Note that you can zoom in at any time to get an intimate look at lobes, eyes, hair, whatever, so you can be more precise. Also note that you should have the history window open so that you can go back a few steps if need be. I fill out the rest of Kirk's face, and fix a few other mistakes I made.
Now we're ready to copy and paste Kirk into another image. First, open up a new image (ctrl+N if you're feelin' it). At this point you need to make sure you create an image big enough to contain Kirk (no simple task) and whatever elements you'll add later. Since there are going to be flying tacos involved, we'll need a little extra space. Also note that you can always just use another image, say...the burning abyss of hell, and throw Kirk into there too. But for now, we'll just use a blank image. Since the original kirk.jpg is 288x358, I'll set the new image at 500x400. (**make sure both images are at the same resolution! In this case, 72 pixels/inch**)
Now, go back to Kirk.jpg, where you still have a lasso selection, and copy. Then, moving to the new image, paste Kirk in. Now you have something similar to this:
FUCK YOU KIRK CAMERON, somehow it went back to being skinny distorted! I swear, this has never happened before, and it has something to do with Kirk Cameron. I'm just going to move on. Believe me, this is typically not an issue. I could resize him so that his face is fatter again, but I'll just skip it.
OK, last few steps for today. First of all, make the background hot pink by selecting the paint bucket button, choosing hot pink, selecting the "background" layer on the right (make sure your layers window is open. If not, go to Window and select it, or just press F7 on a PC), and paint the layer hot pink.
If you made any errors while using the lasso, like I did, you'll notice it now. In my case, there are spots of white all around Kirk. There are a lot of ways to fix it. The two easiest are to 1) use the eraser, or 2)use the lasso tool to delete selected portions. Either way, you'll want to select kirk's layer first over on the layers window. If you want you can also take the opportunity to rename that layer for future convenience. If you use the lasso, you'll want to mess with the feather in this case. The higher the feather, the softer the edges you'll leave when you erase. At other times, you'll want to set the feather at 0 pixels (ie, a hard edge). It depends on the situation. If you choose the eraser, like I did, you might want to mess with the opacity and hardness settings for the same reason. Another common trick is to use the blur tool, maybe with soft settings, and use it on areas that look too "digital". It's all discretion, really, and even after a couple years of doing this now I still suck at it, often. It just takes practice.
Finally, since the original kirk.jpg cut him off on the bottom and right, he looks kind of goofy in the middle of the new image. So we'll move him to the corner. Do this by selecting the Move Tool (in the upper right corner of the toolbar, at least on my Photoshop), make sure you have the Kirk layer selected, and move him to the corner.
I'll stop there for today, but now he's in prime position to eat tacos, hot dogs, bananas and whatever else. Since this is a work in progress, save it as a .psd file (kirkinprogress.psd) so that the separate layers are preserved.
― smell the reality of coffee (Z S), Wednesday, 30 September 2009 01:04 (eleven years ago) link
(I realize a lot of that is really basic, and the relatively fun steps will be tomorrow, but I wanted to make sure that even someone who is an absolute photoshop beginner can get to this point)
― smell the reality of coffee (Z S), Wednesday, 30 September 2009 01:05 (eleven years ago) link
this is great, even tho i have no intention of getting photoshop just to try it.
― Brewer's Bitch (darraghmac), Wednesday, 30 September 2009 16:02 (eleven years ago) link
I'm going to "draw" the area I want to select by using the lasso tool
magic wand, dude!
― this must be what FAIL is really like (ledge), Wednesday, 30 September 2009 16:06 (eleven years ago) link
I can only defer back to what I said yesterday,
"...I don't really know what I'm doing! Along the same lines, I'm sure some of the ways that I do things are really dumb and could be easier, and I just don't know it...I'm apologizing in advance to anyone who actually knows what they're doing."
Although, I did try the magic wand, and while it did help with a lot of the work on Kirk's edges, it was still kind of a hassle to select everything on the interior. It took like 10000 clicks to finally get everything. I guess a good middle ground is to use the lasso to quickly select everything on the interior, and then use the magic wand on the edges. Thanks for pointing that out, though, ledge - I'll probably end up learning more than anyone else reading this!
― smell the reality of coffee (Z S), Thursday, 1 October 2009 01:26 (eleven years ago) link
Use the magic wand on the background once, then delete the background - only thing left will be kirk
― Dags in Space (S-), Thursday, 1 October 2009 02:20 (eleven years ago) link
― smell the reality of coffee (Z S), Thursday, 1 October 2009 02:21 (eleven years ago) link
ahahaha, how many hours could you have saved?
― Alex Quebec (WmC), Thursday, 1 October 2009 02:23 (eleven years ago) link
Serious answer: Probably dozens. 30+
― smell the reality of coffee (Z S), Thursday, 1 October 2009 02:26 (eleven years ago) link
When there's not a monochromatic background to make things easy, I tend to work in Quick Mask Mode a lot.
― Alex Quebec (WmC), Thursday, 1 October 2009 02:32 (eleven years ago) link
OK so that is Adobe Photoshop CS3 Extended. I am so there.
― Mr. Snrub, Thursday, 1 October 2009 15:58 (eleven years ago) link
keep the tutorial going! these magic wand, invert selection tricks are pinch harmonics -- teach us the power chords!
― Philip Nunez, Thursday, 1 October 2009 17:54 (eleven years ago) link
OK, I'm going to pick back up where I left off with kirkinprogress.psd
STEP THREE: MAKE BANANAS AND TACOS FLY THROUGH THE AIR
I'm adding bananas to the work order because they are THE ATHIEST'S NIGHTMARE.
First things first, find a banana, isolate and extract it similarly to step two, and paste it into kirkinprogress.psd. Here's the one I'm using:
Of course, this banana is much larger, relatively, than Kirk's head. To fix that, just resize the banana. In case you don't know how to do it, you should probably know how to resize it using the transform command, something you're probably going to end up using over and over again. First, select the banana, which, using the magic wand tool that I have always used and known about (FUCK), shouldn't take too long.
Then, with the rectangular marquee tool selected, right click in the selected area and choose Free Transform, and you should have something looking like this:
If you right click on the selection, you'll get a list of ways to fuck around with the image. Most of the time I just use Free Transform, but the other options come in handy sometimes too. To size the banana down while maintaining the same shape, hold down the shift key and drag the corner box until it's the smaller size that you want. If you don't hold down shift, you can resize it however you like, so that it becomes really thin or wide, tall or short. Mess around with the different transforming options and get familiar, realizing that you can always just go back a few steps using the history window.
Once you've got it to a size that makes sense, press Enter to finalize it, and then, since the banana is still selected for you, go ahead and copy and paste it into the kirk picture. Pasting it will automatically create a new layer, leaving you with this:
Alright, finally we can actually animate something.
First we'll make the banana fly in an extremely amateurish way, and then we'll make it fly in a moderately amateurish way (the only way I know).
Open up the animation window by going to the Windows menu up top and checking it.
We'll do a five frame animation. Add four more frames to your animation window by clicking on the "duplicate selected frames" four times.
Now you should have something like this:
Notice that you can change the timing of each frame. It will actually work if you just leave everything at "0 seconds" (it'll just go really fast), but I'm going to change everything to 0.1 seconds. The last thing to do for this super amateur version is to place the banana in a different place in each frame.
Click on Frame 1 in the animation window. Now, with the banana layer selected, use the Move Tool (on the top-right of the tools menu) and place the banana on the left side of the frame.
Notice that when you do this, frames 2,3,4 and 5 also change. This is because of the "Propagate Frame 1" option, checked by default, over in the Layers Window. This option can come in handy sometimes, but it can also lead to massive fuckups. For example, if you had an object in all of your frames perfectly set at different positions, and then you moved the object in the first frame 3 pixels to the right, it will move the object 3 pixels to the right in ALL of the frames. So there are times when you'll definitely want to disable that option.
But for now, select frame 2 in the Animation window, and use the Move Tool to move it a bit to the right. At this point, you can hit the play button to see your awesome work.
Yeah, it looks stupid. It's because frames 3, 4 and 5 are still identical to frame 1. Select frames 3 and 4 and complete the movement of the banana across the image. Then, in frame 5, uncheck the banana layer. This will mean that in frame 5, there is no banana. Finally, change the timing of the fifth frame to a full second. Now you should have something like this:
Yeah, it's choppy. Of course, you can always add more frames.
― smell the reality of coffee (Z S), Friday, 2 October 2009 01:05 (eleven years ago) link
Now the moderately amateurish version, which we'll create by making the banana twirl and placing the whole thing in a ridiculous scene.
To make the banana twirl, we'll need 3 different banana layers. You've already got one of them. You just need to make two more, and rotate the banana in each one at different angles. First, erase all of your frames of animation so you just have one again. Now, click and drag the banana layer to the "create new layer" button. Do this twice to make two copies of the banana.
At this point, you have three bananas exactly on top of each other, so it looks like you only have one. If you click on each layer and use the Move Tool to spread them out a bit, you should be able to see all three.
Now, choose one of your new banana layers, draw a selection rectangle around it using your Rectangular Marquee Tool (upper left), and then right click on it and choose "Free Transform". You can either move the cursor to a corner of the resulting rectangle and click and drag to rotate, or right click again and choose "rotate". Either way, rotate the banana, and press Enter to finalize it. Then, choose the third banana layer and do the same thing, only at a different angle. You should now have three bananas at three angles.
Now, follow the steps above to create some frames and make the bananas move across. Only this time, instead of having one single banana in different places in each frame, you'll switch to a new banana layer during each frame so that it twirls in the air.
To make things completely professional, find a suitable background and paste it in, and place it in the Layers window so that it's above the hot pink background but behind Kirk and the flying bananas.
― smell the reality of coffee (Z S), Friday, 2 October 2009 01:50 (eleven years ago) link
Tomorrow, as we continue the grueling slow pace, making Kirk eat the banana, swallow, and like it.
― smell the reality of coffee (Z S), Friday, 2 October 2009 01:52 (eleven years ago) link
you SERIOUSLY should make a full-on website of this because it is both informational and fucking hysterical
― a misunderstanding of Hip-Hop and contracts (HI DERE), Friday, 2 October 2009 13:06 (eleven years ago) link
STEP FOUR: MAKE KIRK EAT BANANAS
Onto the more difficult stuff.
As always, I am totally making up the vocabulary here to try to describe what's going on. I'm going to be referring to something I call cover layers. Think about the steps we need to take to stuff a banana down Kirk Cameron's mouth. The banana will fly near his mouth. Ideally, his mouth will open in anticipation. Then the banana disappears down the mouth. There are two basic ways we could make the banana disappear. We could do the super amateur version, where it appears in front of the mouth and then disappears in the next frame. But today, I'm going to aim higher, for the moderately amateur version. I want the banana to appear "in" the mouth, that is, behind the teeth. To do that, we need one more cover layers for the banana to disappear behind on the way down the mouth. Hopefully this will make sense as I go through this, but if shit gets confusing, one helpful thing to think of is how you would do this in real life with paper cutouts. Imagine having a Kirk cutout, a banana cutout, and then how you would need cutouts for the lips, and a "cover" for the banana to disappear behind. Each of those cutouts is a layer you need in Photoshop.
Why go to all this trouble just to make a banana appear behind Kirk Cameron's teeth for one frame in an animation no one will ever see? That's an issue you're going to have to come to terms with if you're going all the way, just a head's up.
Here we go. I'm starting with the Kirk layer, 3 banana layers, a hot pink background, and just the first frame of animation. First, let's make Kirk's mouth open. Take a look at this guy's mouth (zoomed in at 200%).
Now, think in terms of paper layers. For the mouth, we're going to need 3 new layers: 1) The bottom lip, stretched downward in an open mouth position, 2) a layer for the teeth and top lip, and 3) a black "emptiness" layer that will show when Kirk opens his mouth, and will be behind the top lip and bottom lip layers.
1) The bottom lip. Make sure you've selected the Kirk layer in the Layers Window. Using the lasso tool, draw a selection around the bottom lip. Here's mine:
It doesn't have to be perfect, but make sure you're not including the teeth, and also that your selection doesn't get too skinny up in the corners. Don't worry too much about your selection extending into the area below his mouth, because if it ends up causing a problem we can always fix it later.
Now, CTRL+C then CTRL+V to paste your selection into a new layer. Rename the new layer "Bottom", or whatever helps you to keep track. Also, Make sure you rename your main Kirk layer "MEGADOUCHE".
Now let's stretch his mouth downward. I'm going to use the Warp tool. Make sure your new "Bottom" layer is selected, and then use your Rectangular Marquee Tool (topleft in Tools) to select it. Now right click in the selected area and choose Free Transform. Right click in the same area AGAIN and choose Warp. If you haven't done so already, play around with the tool a little bit (looool) to get used to it. When you're done, you can always just hit escape to undo everything, or if you accidentally hit Enter and finalize the transformation, just Ctrl+Z to undo the action. You're free to warp it as you choose, of course, but here's what I did:
With the warp tool, there are 16 points on the grid you can move around. On the bottom row, I moved the two inside points down a little bit. On the second row from the bottom, I also moved the two inside points down a bit. That results, obviously, in the lip being pulled down, but it also leads to the top corners of the lips being pulled down along with it, annoyingly. To counteract that, I pulled a few of the top grid points up a little bit, so that the corner of the lips still come into contact with the top lips. In other words, make sure you're not totally breaking the mouth apart. Or in other other words, just play around with these grid points until you get an open mouth. Here's what I ended up with:
Now you can probably see why we need more "cover layers". iirc, when people open their mouths, they don't reveal a bunch of face skin inside their mouth. So let's create our second new layer, the dark emptiness inside the mouth. If Kirk Cameron gave this much thought, he would probably believe that the dark expanse inside the mouth is a symbol for the existential emptiness people feel before they accept JC into their lives. The flying banana represents JC's love and perfection, so when it flies into his mouth and it eliminates the doubt and the loneliness.
ANYWAY, let's create the empty darkness inside the mouth. Create a new layer by clicking on the Create New Layer button over in the Layers Window, and then rename the layer to whatever you like. Next, move the layer down in the order, so that it's below/behind the bottom lip layer. Finally, switch to the brush tool, change the color to black, and paint in the "open mouth" area that will appear whenever Kirk opens his stupid lips.
Great, except that his teeth are now gone. Now, you may be thinking that it would be better just to carefully paint in the black up to the teeth, and then stop. And you can do that, but it'll probably take you a relatively long time to zoom in reaaaally close and make sure you're not painting over the teeth. So to me, it's much easier and quicker just to create a THIRD new layer, the top lip/teeth layer, and then use that to cover up the empty black layer we just created.
To do that, uncheck the empty black mouth layer in the Layers Window so you can see the teeth again. Then, with the MEGADOUCHE (kirk) layer selected, use the lasso and select the top teeth and lip area. Here's my selection...
Now, copy and paste the selection into a new layer, rename it ("top"), and move it up in the layer order to that it's above the empty black mouth layer. Recheck that empty black mouth layer, btw, so you can see what the final open mouth will look like with all layers firing:
Oh. The teeth look kinda funny. Never fear, if you encounter something similar, just select the teeth/top lip layer, and clean it up using your own discretion. In this case, I'm just going to use the Eraser tool and clean it up a little around the teeth.
Kirk Cameron's favorite album of all time?
― The World's Biggest Christ (Z S), Sunday, 4 October 2009 21:37 (eleven years ago) link
Now we have all the layers necessary to make Kirk's mouth open and close. So let's create a quick 2-frame animation so we can enjoy our handiwork. The first frame is just the original Kirk.jpg over a hot pink background, while the second frame includes all of our new layers we created:
Not perfect, but it'll get the job done. The rest of this involves getting the banana to fly into Kirk's mouth. Hopefully, you should be able to do that using the Steps two and three Remember that we have three banana layers now so it can tumble through the air with ultra realistic motion. But if you followed the steps I gave you today (FOOL! AHAHAHA), you're going to run into a problem when the banana actually enters the mouth. THIS:
To understand what's going on, we need to look at the layers:
The banana layer is above the the top lip/teeth, above the empty black mouth layer, above the rest of kirk cameron, but below the bottom lip. So far, so good, because want the banana to be above everything but disappear behind the bottom lip as it enters the mouth. But the horror show Banana-Through-The-Mouth occurs because after it disappears below the bottom lip, there's nothing else to cover it up. Again, think of how you would do this with paper. Currently, the banana would slip beneath the bottom lip and then pop back out into visibility. We need ONE MORE cover layer to give it something to hide behind.
Again, choose the MEGADOUCHE layer (kirk), and use your lasso tool. We want to select a big enough area for a banana to disappear behind. Here's what I selected:
Again, copy the selection and paste it into a new layer, rename it "CoverLayer", and then position it like so in the Layers Window:
There. Now the banana disappears behind the coverlayer when it gets near the mouth. Now I'm going to create some new frames, make the banana tumble toward Kirk, and as the banana comes near, have his mouth open (turning on all the layers we created today, the top lip, bottom lip, black space, and CoverLayer), show the banana entering, and then snap his mouth shut. To top it all off, I'll do my best to think of what Kirk Cameron would say, and place him in an semi-appropriate context.
I realized I skipped some steps there at the end, but you should be able to figure it out. (hypothetical you, if anyone is actually doing this) The text is just created using the text tool - ok, I used the shape tool to create the heart and then merged that into the text layer (shift-select the layers you want to merge in the Layers Window, then right click and select Merge Layers) - and then turn that text layer on during the final frame. And the hell layer is just copied and pasted from these internets, and placed at the very bottom of the layer order, where the hot pink used to be.
― The World's Biggest Christ (Z S), Sunday, 4 October 2009 21:40 (eleven years ago) link
ZS it is so fantastic of you to explain all this! Thanks for your time & your awesomeness.
― existential eggs (Abbott), Sunday, 4 October 2009 21:58 (eleven years ago) link
Don't thank me, thank Kirk Cameron! I can't think of anyone else's pixels I'd like to manipulate, hubba hubba! :)
― The World's Biggest Christ (Z S), Sunday, 4 October 2009 22:02 (eleven years ago) link
He is the banana's worst nightmare.
― existential eggs (Abbott), Sunday, 4 October 2009 22:09 (eleven years ago) link
Whoah ZS this is so awesome! And you sound like the perfect teacher: patient, funny, Kirk-hating... <3
― young depardieu looming out of void in hour of profound triumph (Le Bateau Ivre), Sunday, 4 October 2009 22:44 (eleven years ago) link
Thanks you guys. :)
I'm going to make just a few more next week, covering topics such as
1) How to "zoom in" on an object/person2) playing with opacity 3) how to do the "flythrough" effect:
― The World's Biggest Christ (Z S), Sunday, 4 October 2009 22:50 (eleven years ago) link