The next thing I want to show you is scripted patterns what the heck is that you might say well for example and just like you know I've got a few notes up here these air actually pages of my book that I've printed out a larger scale selection actually see them without having to go like this so that just proves that I use my own book so scripted patterns what the heck is that? Well, photoshopped has long had the ability tio fill a layer or a shape with a pattern and there are some patterns that are built into the program they're all extremely lame but nevertheless what happens when you feel a layer or selection with a pattern is something like this example I've got on the screen right here photoshopped takes the thie image of the pattern in this case it's a single plank of wood okay this is not a built in this is one that I've made no actually I do that in a minute so it takes a single image and it repeats it in a grid like pattern to produce something as lame and boring as this. Okay, ...
now why would you ever use pattern feels to create new backgrounds designers will use this all the time to add textures create ads you know in graphic design things like that photographers might use this to create fake backdrops so if you shoot somebody on a green screen or quite a solid color background this easy for you to select and then mask then you can build your room fake backgrounds here in photo shop you know something that you might not be able to purchase or create in real life? Well, the problem with pattern feels is that there's no randomness in it it's all it's just a grid it's an image that's repeated integrated every image is the same size there's no variation in color and if you think about, say, a brick wall are all the bricks perfectly the same size? No. Are they even the same color? Not after they've been on the weather very long now. Okay? So scripted patterns and photoshopped cia six pulls a job, a script file and there's three or four of them that are built into the program it calls a java script file that introduces randomness into this grid. So instead of something is boring and lame is that with the same single piece of wood you could create that. So for this one, a photo shop is taking it and I use the brick phil java script file on this one. Okay? And what it did was it offset the pattern every second row by half of the patterns with to make it look like breaks it's also randomly altering color so what you get is you get true randomness now with your pattern fills now this may sound as exciting teo as those dash and dotted lines please know where that but let's take a look at a few instances where it might really be useful okay, so I'm just going to go through here and I'm gonna show you a few backgrounds I created and then we'll look at how how we did it okay? So here's one I want to show you the original image on this one that's the image ok created that from it this is using the brick java script file here's another one that was created here's a random scripted pattern spiral can you imagine creating that by hand only if you're paid by the hour? This is another random phil based on that saying that one leaf that's all coming from this one leaf and look at the variations in color and size really in those leaves now you may say please boring when I'm ever going to see anything like that on the real world I meant to take a picture of it but I kid you not in the hotel I'm staying at across the street from the studio it's a holiday inn and they've had a home makeover of their check in desk below the wooden part of the countertop are these large panels and I kid you not it's nearly that same dag unbelief and it's a random pattern like that and that is their decoration there's like four or five of these things that I think they've got a light behind on their back lit so all you see is this random pattern of these kind of translucent leaves that's how you create this kind of stuff so it's knee when you start exploring new features like this that you might think I'll never use that in a million years and then you go somewhere like me I walk in there not like scripted patterns that was kind of fun so here's a scripted pattern spiral based on a built in pattern feel in the program yes, I think that was built in that mind of my own flyer up there are a couple of built in flowers so you know, I could do all kinds of neat things again photographers, new backdrops here's a brick phil the brick jobs for it feel used on a tile. I got one of these single tiles for my stock photo, loaded it as a pattern and then applied this script it and then here's some chili peppers well, random spiral there. So how the heck is this stuff useful? I submit to you exhibit a in advertising? Of course this is all fake ad I mean again there is no tofu square in boulder. It would be fitting if there were there's not so I made this ad and about five minutes okay I downloaded a single chili pepper from stop photography side I stopped photo in this case I it was on a white background so I'm asked the white background I defined it is a pattern to super easy to do and I'll show you had it in a second and then I ran a random script on it and so it introduced this random throwing of the chili peppers from one single chili pepper and I simply slapped on some techs slapped on a rectangular shape player at the bottom just to give me kind of an anchor in which I could put more text to highlight he was probably easy to tell that I'm a graphic designer first and a photographer second so this is one way that you could use the scripted patterns another way is for photographers we'll get a full screen mode so this piece I'd like to call the end of summer so what I have here and I'll go back out of full screen so you can see my layers panel what I've got here is a single oak leaf this guy right here I sit one little oak leaf and I deleted its background to find it is a pattern created a new layer onto which to feel that pattern using the random script so it gave me this random leaf placement and I brought in this other photo of this girl who's obviously in a school leaning against lockers and because this layer is transparent you know so I took this leaf and I deleted its background so it's transparent so when I filled the layer with that leaf then I give transparent areas in that layer so I can see through to my photo below the other thing I did was I wanted to simulate the leaves falling so I created a smart object out of thie leaf phil layer and iran in motion blur filter on it changed the motion blur tio ninety degrees so you've got straight up and down lines that's a side to side and that made the leaves look like they're falling and then using the automatic layer mass that comes along with it smart filters I hid the blur filter from this pile of leaves here that I wanted to simulate that words maybe in the four from it anything huh just to give you a few ideas of how this stuff would be useful so let's take a look at how tio create some of this stuff don't save all right so let's start out with our chili pepper here ok? So here's the original file I downloaded it's got a white background that sometimes when you download stock photography some of the stock photographers will actually make a clipping path around the items so if you are purchasing stock be sure when you open up the file click on your paths panel and just see if that photographer designer happened to give you a clipping path before you go trying to create one yourself all right in order to knock out the white background just take a peek in the path panel takes one second and sometimes you might be gifted with the path and you don't have to create a path yourself in order to mask it ok, so back in the layers panel, what are we going to do? Tio get rid of that white background what we're going to select a first we could actually select the white create a layer mask or we could select the pepper. Since the contrast is really high between the pepper and its background, I could use the quick selection tool, which lives in the same tool set as thie magic wand, which is right here. This is the quick selection tool quick selection told that she select by color by painting across the aisle and you want to select use is a nice brush cursor. You can change the brush cursor size using the options bar this little guy right here or you could just use the keyboard shortcut, which is there are several keyboard shortcuts and photo shopped for changing breast size. One of the newer keyboard shortcuts came along and see us five requires ten fingers not kidding requires for it's too much for me to remember, so the tried and true keyboard shortcuts for changing brush size are the right bracket key goes up and brush size left bracket key goes down in person is ok so I could quickly either paint across the chili peppers selected or I could paint across the white and then flip flop my selection to get this election I wanted doesn't matter which way once you have a selection, then we need to double click the background layer to make it editable you may or may not have to do that if you're dealing with a lot of background layer and you try to add a layer mass photo shop will squawk at you until you cannot do that so you have to double click it to make it edible and then you can add the layer mask so you can analyze your mass by clicking the circle within a square icon at the very bottom of your layers panel it's this guy right here so give it a click and we get a mask okay? And I'm actually going to do I'm gonna change the size of my layer thumbnail so you all can see them a little bit better. This is a really nice tip all in itself so from that microscopic layers panel fly out menu that we've talked about earlier this guy right here give it a click cruise down to the bottom cruise down to the bottom wherever it is and she's pale options this want it may be well worth the price of this class. So you've got right here. You've got three different sizes for layer thumbnails. Open this panel in turn on the big one in college. Done your eyes will. Thank you. So now watch how much bigger my thumb young gets who it's visible. Now you can also do that in the channels panel is well, and the path panel your panel options for all those guys. You can make those thumbnails bigger. Stephen siham! All right, so now we've got a good mask around the chili pepper and just so you know, had you selected the white background and then out of the mask, then you would have gotten something that looks like that instead, which is the opposite of what you want. And I'll be real honest and tell you nine times out of ten when I put a mask on something it's, the opposite of what I want, and so it's really easy just to invert it. All you have to do is double click the mask and the properties panel open and just click the invert button that's it that flip flops and mask back and forth, okay, so now we're ready to define our pattern. Ok if you want to resize the item you can re sizing it is a little bit of ah experimentation thing because unless you know the size of of this piece of art versus the size of the document you want to feel may or may not be right in other words our chili peppers may end up way to bigger way too small that requires experimentation there's no trick for that ok so let's say that this the size is just fine we could go ahead and trim off the extra area around our pepper we don't need all that transparent space so we could choose image trim this is a real handy tip teo the image trim dialog box which has been around forever lets you delete trimmed the image black cropping based on transparent pixels or the pixel at the top left of your document or the pixel at the bottom right so since I've got transparency going on I could just say trim all the transparent pixels off that you can and that kept me from having to cross the image so I use that trim command a lot in fact and all the screen shots and photoshopped cs six the missing manual I used to trim command to make them a smallest possible because we're dealing with a limited page count on trees and stuff okay so now we're ready to define our pattern so we're going to go to the edit menu hopes you need to be cooked on the in inches thumbnail see right now I have the mask active how do you know the mask is active? Because it's got that white bracket around it? See now the image is active now the mass in the basket so to define a pattern you need to have the image active right now trying to the edit menu and choose defined pattern and then just give it a meaningful name so we'll say chili pepper click ok and that's it now let's open up and create a new document and we'll just make it paper sized whatever most let's say that's fine there we go so now we can feel it so now we're going to go up to the edit menu choose phil from the eu's content menu this is where we're going to use pattern because you have two cell phones shot what do you want to fill this layer with? Do you want to feel it with color? A pattern? What have you so go ahead choose pattern when you choose pattern then you get this little menu right here that lets you tell photo shop which pattern now remember when I told you that photo shots built in patterns were lame? I meant it like those things are awful but near the lift here's our beautiful chili pepper so we'll click our chili pepper now we're going to come down to this new area right here everything I showed you this far has been in photo shot for a bazillion years this is the new part turn on scripted patterns in this poppet mini lets you pick between the five java script files that introduce randomness into your pattern. Okay, I saw I saw a little bit of sparkle of fear in people's eyes earlier when I said java script I think you're thinking we're gonna write jobless fruit oh my gosh so anyway let's do our spiral phil here felicity random first look like random soon back out and then we click ok and photoshopped thinks about it and it throws all your chili peppers on a document in a very random way. Okay, so that's what I did for that ad every time you choose that every time you choose at phil random you'll get a different pattern it really is random ok, so another another one that you could do to create another new layer at it phil they've already got pattern set from the eu's poppet mean, you've already got our chili pepper and this timeless to spiral spiral is the only one that doesn't introduce a color change as well, so fuck shot thinks about it for a second and we get a beautiful array of chili peppers in a spiral pretty beautiful stuff, huh? So let's see if we can create that photo real quick, so I'll go ahead and open the two documents that I used and oldest turnoff the layer visibility, the layers I made and again, if you buy this course, you get these layered files, which is pretty great, right? So let's say you downloaded this leaf from a stock agency and you masked the background do that in real quick, I'll just delete that layer mask here again, since the contrast is so high between the item we want to select in the item we want tio may I ask, you can use the quick selection tool, which lives in the tool set with magic wand here again, you could either click and drag to select the white background or click and drag to select the leaf. I'll go ahead and click and drag to select belief it'll be a little bit tough selecting the leaf because of that very thin stim we've got going on here, but if you zoom into your document enough and you make your brush size small enough, you can still get a decent selection of it. Ok, now let me show you one more selection tip that I'm not going to go into too much detail about, but if I zoom into this image, you can see that I really don't have the tips of the leaves in this election just yet when you could use the refined edge dialog box to tweak that selection ok so any time you have marching ants on your screen and you have one of the shops selection tools active you will see this refine edge but in your options bar when you give it a click you open a dialogue box that lets you find tune your selection case of the first thing to do when you open this dialogue is tio telephoto shot how you want to preview your selection on the image nine times out of ten I go for this option called overlay right here because it gives me this nice red overlay and it's easy to see what's included in your selection and what's not so as I zoom in and use the space part of move around anything that's in that red area is not included in my selection so I can see that the tips of those leaves are selected so what I'm gonna do is use this little tool right here is called a refined radius tool and then when the mouse over to the image go down and brush size by president left bracket key and I'm gonna paint across the areas that I want photoshopped to include in this election actually I need to turn on smart radius first smart radius tells footage shot to take a closer look at the edges of your selection in order for it to figure out places that it might have missed how far do you drag this radius slider when she turned on smart radius depends on how far away from your original selection you want photoshopped to analyze okay so as I click and drag with a refined radius tool foot a shop takes a closer look at those spots in order to either include or exclude them from your selection and again we cover that tool in far more death in the c s five class but you kind of get the hang of it here I'm just painting across the areas that I really do want included in my selection which are those little tips of the leaves and as I paint I can tell that they're being included in the selection now if the red overlay makes things a little bit tough to see then you have all kinds of other options for your preview of your selection for example, we could change the view appear teo on black on why why doesn't do you any good because your original background was white you want something that's contrast that lets you see what you're selecting so this is a great thing to do when you're trying to select somebody with frizzy hair or just wisps of hair that air blowing ok so we're gonna call this one done here we go so now when I click ok actually I can tell foot a shop to go ahead and give me a layer mask if I want or I could click ok and just add the layer mass myself so now if I zoom in I got much more of those leaf tips than I did originally and we'll do that one again after break. All right, so now we're ready to trim all the excess transparent pixels out of our soon to be a pattern so she's image trim transparent pixels has already active click ok for shop crops the document down now we're ready to define it is a pattern so we'll choose make sure that the image some nail is activated not the mask if you go to the edit menu and defined pattern is great out, then you know you're still on the mask so she's edit defined pattern give it a clever name now our pattern is set now we can come back over here to our image that we already have open we'll create a new layer onto which will do our phil she's edit phil we've already got pattern in the eu's poppet menu, but we need to switch it from a chili pepper to something else so we'll go ahead and click that down we're pointing triangle there's our leaf now we'll come down too scripted patterns in this time will choose random and click ok and there's our random leaves the only other thing I did was I chose filter convert for smart filters because I wanted to experiment with that motion blur, but I didn't know if I was going to like it or not so sure the heck didn't want to apply it to that layer, which I would be unable to get rid of should I change my mind so convert for smart filters photo shop says hey so when if you want to use a smart filter, I'm going to make your layer into smart object what you basically kind of cocoons it in a protective coating and any filters that you run kind of stack up underneath that layer kind of like a later styles meaning you can delete individual filters if you want to, which is great so go ahead and click ok now we're ready to run our filter so to go back it to the filter menu she's blur motion blur for this particular one I entered a ninety degree angle and I put a pretty severe blur on it by increasing the distance click ok over in the layers panel when you run a filter on a smart object, you get an automatic filter mask which lets you hide the effects of just the filter we're not talking about adding a layer mask the smart object in which case you'd be hiding leaves were hiding blur so we click within that smart filter mass that comes along automatically and see there's our filter that we re in motion blur we could throw that away just like a layer style if we wanted we could talk all the visibility off and on to see if we really like that filter or not handy thing when you're showing this kind of stuff to clients. So if we want to hide the blur from part of the leaves, we can go ahead and click to activate the mask and then just a little refresher on layer masks layer mass or simply digital masking tape just like the masking tape you'd used to mask off baseboards if you're painting your walls and you don't want to paint the baseboards layer master the exact same thing and photoshopped, the only difference is that in the physical realm masking tape his beige or blue right in photo shop it's black so you can use any tool you want that will lay down black paint so I'm gonna grab the regular all breast tool set my foreground color chip to black by pressing d to something to default and impressing x to flip flop my color chips now I'm gonna come over to the leaves and I want to hide the blur from and was to say we want to hide it from this set right here I'm using the right bracket to go up in worse eyes I simply paint toe add black paint in the smart filter mask in the area that I want to hide that filter okay, I do this all the time when I'm sharpening images or blurring images on portrait's to snooze skin, turn that layer into smart job that run the filter, and then you can hide that filters effects from the areas that don't need it there is that don't need the skin softening the areas that don't need the sharpening, that kind of thing. So that's, how we did that with scripted patterns, so when we come back, we'll run through that found one more time because that was kind of a lot of steps, but hopefully now you can get an idea of the usefulness out of this thing. Let's, take a look at how to create our random leaf scripted pattern one more time. I really got I want you guys to get this because there's so many new uses for it s so here's what we're going to create and here's the file we're starting out with, okay for early, so download a file or shoot yourself, go gravelly from you are putting on a white piece of paper and take a picture of it important and photo shop and then start here. All right, we need to make it transparent in order for our phil to be transparent and this just showing off the new scripted patterns and c s six. So we need to make a layer mask to hide this white background a couple of different ways you could go about it since we've got great contrast between the part we want to select in the part we want a mask we can use the quick selection tool, which lets you paint on a selection by color. I'm losing the magic one tool sit and I'm using the right bracket key to go up in both size or you could use the left bracket key to go down and burst size you could start out by selecting the leaf itself or you could select the background since we did the leaf last time. Let us do the background this time so let's, go ahead and click and drag to create our selection and honestly, if you've got a cz much contrast as we do here, you may not even have to drag it all. I'm merely clicking, okay? So with a few clicks you get a decent selection of this leaf. However, when we zoom in a little bit and then press and hold our space far to move around within the image followers and in we can tell that we didn't get those leaf tips in the selection so let's use the refined edge dialog box tio we find our selection fine tune it rather so that we do include those leaf tips what you want to do is you want to click the refine edge button at the top of your screen in the options bar now if you don't see that refinish button or if it's great out, that means one of two things that you don't have marching ants on your screen, you have to have them for that button show up, you have to have an active selection and you have to have won a flutter shops selection tools active in your tools panel if both of those conditions are not met, you will not be able to click this button, so if that happens to you, you've been warned, so go ahead and click the refined edged button and refinish dialog box opens now, this time I've chosen a preview of bread overlay, which is really the overlay of quick mask, which comes from the old print days of using ruby lift. If you know about all that with red overlay photo shop is giving me a preview of the area that's not in my selection. Well, the last time we use this before the break, our background was rid in the leaf was not that's because we selected the leaf, so the red overlay was showing us what was not included in our selection so same thing here, so what we want to do is we want to get those leaf tips in in this election, so I'm gonna go ahead and zoom in a little bit he's my space bar to move around within the image, and since my leaf itself has so much rid in it, the red overlay is kind of keeping me from seeing those which part of the tip is not yet included in my selection. So I'm going to go ahead and change the overlay to something else that might work black works really well in this case, see how you can tell the edge of the belief that's not yet in the included so let's, go out and leave that set to black, we'll give that a shot. Now we're going to come over here and we're going to use our we find radius tool, I go down and brush size a little bit space bar, and I'm just gonna paint across the area that I want to be included in my selection, and for this particular image, you don't even have to turn on smart radius, I thought you might you don't, so I'm not worried so much about the edges in this area. I'm worried about those tips, so I'm painting across those tips, and then when we come out of this dialog box, we're going to flip flop our selection so that the leaf itself is selected instead of the background of the leaf. Or we could simply go ahead and mask the background and then use that handy invert button in the mask panel can you imagine I'm doing this on a leaf, which you think off the leaf, but think of hair think of her all that kind of stuff refined edge is amazing, and again we cover in far greater detail in the c s five class, and just while I'm cruising around the leaf and doing this, talking about buying the course, one of the reasons I love doing these creative live classes not only is toh no work with the amazing people who run creative live, but it also makes me feel like I'm doing something good for humanity because people that purchase this course make it possible for the free versions of this, of course, to be broadcast without payment, you know, the companies don't function, so when you buy this course, think of it that you're helping third world countries or people who I would never be able to purchase this kind of training you're making it possible for them to have that training for free when you buy these courses, and when I say this is kind of like a feel good mission for me, when I come to create if I have to be this that's that's, what I'm talking about is it's just it's wonderful to bring this kind of training teo countries or folks who just would never, ever, ever have access to it any other way so that's my feel good speech all right, so let's say our selection and looking pretty darn good we've got those nice leaf tips going on here now we can go ahead and use the out output to pop up menu the bottom of the refining dialog box and we can choose a layer mask now I fully realize that this is going to mask the baton grams to that belief, but we're going to flip flop it so it's no big deal to go ahead and press ok after you've chosen layer mask see you got the office it don't pay any cracks, all you have to do is double click that mast open the properties panel it's called the masks panel insidious. Five use the little scroll bar to go dance, he confined that invert options and now we've got the background man first off, we're going to go ahead and trim this document down a little bit by deleting the transparent pixels that air all the way around the outside. Go ahead and click to activate the leaf thumbnail said of the mask tried up to the image menu choose trim and she's transparent pixels so it's going to crop that image down now we're ready to define our pattern so choose edit defined pattern give it a clever name we'll call this one oak leaf to to be clever because we've already got an oak leaf in there now we can go over to their other document and I'm gonna go ahead and delete that layer so we're starting it with our original photo say so let's add a new layer onto which we're gonna do the phil so you can add a new layer by clicking the new layer icon at the bottom of the layers panel is like a piece of paper with a folded corner a dog eared corner now let's go ahead and fill that layer so choose edit phil from the eu's poppet menu choose pattern from the resulting custom pattern poppet menu go ahead, give that down we're pointing trying go click and you should see your custom pattern there's a click it to activate it now come down to the bottom and in cia six this is where the new magic it's scripted patterns to turn that on and friend the poppet many for this particular technique let's choose random click ok and photoshopped ads you're leaves and again you're going to get a different array of leaves every time you choose that and it feel command okay it's not gonna be the same in arguably this one doesn't work out so well because we've got her face covered it but we can always mask out that one lee for you know leaves in are overlapping rather we could get rid of these two right here in problem pretty okay another thing that we could do to kind of save this one phil is to flip flop it horizontally so that we have the bulk of leaves on the right instead of on the left and that super easy. This is a great trick to have a pure for having your bag your magic bag rather is to flip flop in image you can choose, edit free, transform and instead of messing with any handles, simply control a right click somewhere inside the bounding box doesn't matter where somewhere and shoes flip horizontal didn't help us in this case at least don't know how to do it now so that's how you could flip flop the image all right let's, go ahead and run that again so hopefully we get a little bit different phil so she's at it feel we've already got all this set up she's ok that's a little bit better we'll call that ok, the next thing we can do is we can convert it into a smart object so that we can run filters on it non destructively so let's choose filter convert for smart filters, which is the equivalent of saying convert to a smart object photoshopped lets you know that you're about to turn your layer into smart object on dh now we can try back up to the filter menu and maybe run a blur filter, so we'll choose motion blur from the blur category and in this style, a box to make the leaves it like they're falling down. I change the angle to ninety and you can type a number in the angle field or you can grab this little dial and spinning around their ego, and I put quite a bit of a blur on it. Whatever looks good to you, we find click ok float a shop runs the filter non destructively gives you a mask in which you can hide the effects of the filter, so we'll do that now we'll go ahead and click within the mask and in the realm of the layer mask and photoshopped masking tape is black and there's, a little rhyme that creative's have memorized to help us remember what color to paint with wind and the rhyme goes black conceals white reveals so black eyes, white shows basically so I can use eating tool in photo shots arsenal that I want to lay down some black paint not on top of a leaf, and I want to hide the blur from so I can press b to grab the regular brush tool just the regular old brush tool it's been photoshopped forever, you want to make sure that your foreground color chip is black so look at your color chips the bottom of your tools panel if you need to press d to set them to the default d for default of black and white and if you need tio press x to flip flop your color ships doesn't make us you can see that shortcut press x to flip flop your color chips and for some exciting fun hold down the ex key and you get a little bit of a strobe light going on down there press x until black flips on top and we'll zoom back out all the way and now you have to do is paint in the area that you want to hide that particular filter from and the super great thing about layer mask is is that if you mess up let's say I accidentally hide the blur from a lease that I don't mean the high the blur you know I have to start over all you have to do is flip flop your color chips by pressing x so that's why it is on top and if black conceals and white reveals paint right back over the area that you want the filter to be visible on while you're painting with white so layer masts are extremely forgiving I use them all the time and if you're not using them you really ought tio because it builds in a whole lot of editing flexibility into your document all right? Any questions on scripted patterns well, don't shut out from j taylor eleven twenty this woman is so good she's, my new guru. Yeah, timeless checks in the mail e so let's see the answer. Some questions from earlier self qualities. If he did get to these mary from costa rica are random scripted patterns tile friendly? Well, they're all gonna tile, so when photoshopped fills with a pattern it's creating a grid like we said earlier. So when you add that I mean it is a tile, so it's kind of tiling everything, adding the scripted attribute to it just makes it a little bit random. Now, if she's trying to create a graphic that will tile, say on the background of a website, I'm not sure she would want to use scripted, because she's going to introduce so much randomness that the tiles won't seamlessly match up. So if you're creating a graphic to be tiled, say on a web site, I don't know that you would want tio new scripted patterns. You'd have to try that, see how it looks.