• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Behance
  • Facebook
  • Instagram
  • LinkedIn
  • Pinterest
  • Twitter
  • YouTube
  • 0 items$0.00
PTC Logo

Photoshop Training Channel

  • About
    • About The Photoshop Training Channel
    • FAQ’s
  • Tutorials
    • All Tutorials
    • 3D Photoshop Tutorials
    • Compositing Photoshop Tutorials
    • Graphic Design Photoshop Tutorials
    • Retouching Photoshop Tutorials
    • Photoshop Tools & Techniques
    • Photoshop Text Effects
    • Tip Of The Day
    • Amazon.com Tutorials
  • Premium Tutorials
  • Connect
    • Contact Us
    • PTC Newsletter
    • Facebook
    • LinkedIn
    • Pinterest
    • RSS
    • Twitter
    • Youtube
  • Resources
    • Events
  • Join The PTC Newsletter
Home » Photoshop Tutorials » Photoshop Effects » Hidden Photoshop Script EASILY Generates Random Fills!

Hidden Photoshop Script EASILY Generates Random Fills!

71
SHARES
Share on FacebookPin in Pinterest
Share on TwitterLinkedinWhatsappReddit
Subscribe on YouTube!

Posted In: Graphic Design Photoshop Tutorials | Watch on YouTube

Sometimes Photoshop’s pattern presets do not fit your photo composite, but we have a solution for you!

In this tutorial, you will discover this hidden Photoshop script that will allow you to generate a random fill from a pattern and create your own.

Table of contents

  • Tutorial Image
  • Remove Background Using Adobe Sensei
  • Convert the Dollar Bill Into a Pattern
  • Generate the Fill with the Random Pattern Fill Script
  • Power Tip for More Realistic Results!

Tutorial Image

To follow along the tutorial, download the image here.

Remove Background Using Adobe Sensei

Start by extracting the Dollar bill from its background using Adobe Sensei, an Artificial Intelligence (AI), makes creating a selection more straightforward. 

To do that, choose Select > Subject.

If the AI misses out a part of the object that you want to select, you may use either the Quick Selection tool to add or even subtract from the selection.

With the selection active, click on the layer mask icon to create a layer mask based on the selection.

If need be, you can use the Brush Tool and paint on the mask with black (#000000) to hide pixels or paint with white (#ffffff) to reveal. You may also use the Select and Mask Workspace to refine the mask edges.

Convert the Dollar Bill Into a Pattern

Select the Rectangular Marquee tool from the Toolbar.

Then, make a selection a little larger than the dollar bill. 

Select the Layer thumbnail, not the Layer Mask thumbnail.

Choose Edit > Define Pattern. Name for your new pattern preset.  

Create a New Layer and disable the original layer. 

Generate the Fill with the Random Pattern Fill Script

Bring up the Fill dialog box by pressing Shift Backspace (Windows) or Shift Delete (macOS).

On the Fill dialog box,  set the Contents to Pattern.

As the Options appear, set the Custom Pattern to the Dollar Bill pattern preset you just created, which you may also find at the very bottom of the list. 

Check the box for Script and on the drop-down menu beside it, select Random Fill. 

Then, press OK.

The previous step brings out the Random Fill dialog box with several options available.

Start with Color randomness and Brightness randomness.

The Color randomness determines the variety of colors that will apply in the pattern. Meanwhile, the Brightness randomness applies a different range of brightness among the patterns.

If you want to set the pattern with the same color, then adjust the Color randomness to 0.

You can also set the Brightness randomness to 0.2 for a slight difference in brightness.

Then, check the box for Rotate pattern, so the pattern rotates randomly.

Increase the Density to its maximum at 10 pixels. 

By setting the Minimum scale factor and the Maximum scale factor to 1 the resulting generated dollar bills will be the same size as the original.

Then, press OK.

Upon exiting, you’ll see how your working document is now filled with the Dollar bill pattern!

Power Tip for More Realistic Results!

Start by creating a New Layer.

Once again, bring out the Fill dialog box by pressing Shift Backspace (Windows) or Shift Delete (macOS).

Then, press OK.

The Random Fill window will remember the previous settings.

Start by setting the Minimum scale factor and the Maximum scale factor to .25 as this sets the Dollar bill to 25% of the original size. 

Also, set the Density to 9 pixels, to leave gaps in the fill. 

Then, press OK.

NOTE: If you can’t see the transparency checkerboard, you might need to disable the previous layers to see its full effect.

Double-click on the New Layer’s side to bring out the Layer Style window and click on the Drop Shadow style.

You can edit the Structure and the Quality of the Drop Shadow style to achieve realism according to your preference. But it’s also good enough to use the default settings. Then, press OK to see it in effect. 

Create another New Layer and repeat the process of bringing up the Fill window by pressing Shift Backspace (Windows) or Shift Delete (macOS), and press OK.

When the Random Fill window pops up, it will remember the previous settings you applied and press OK. This will apply a new random fill layer of the dollar bill pattern, which helps create depth. 

To apply the same Layer Style with the Drop Shadow in the previous layer, click-and-drag the fx icon over to the New Layer and drop it there.

And here’s the final result when you keep on repeating the process until you achieve a realistic bed of Dollar bills that you can use for a photo composite or a poster project!

Be sure to test it out with some of your favorite objects and tag us #PTCvids when you upload it on your social media!

Final Image

Drag The Slider To See Before & After

Diggin' these tutorials? Sign up for updates and subscriber-only tutorials…It's FREE!

Other Photoshop Tutorials You Might Like:

  • Zombie Photoshop Tutorial
  • bourne-movie-posterBourne Legacy Movie Poster Tutorial
  • How To Make Someone Older In Photoshop – Young To Old Tutorial

About Jesus Ramirez

Jesús Ramirez is a digital graphics expert, speaker, and educator specializing in Adobe Photoshop. Jesús is best known as the founder of the Photoshop Training Channel, one of the most popular Photoshop YouTube channels in the world. More.

Follow: Instagram / YouTube / Twitter

Subscribe
Login
Notify of
guest
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments

Primary Sidebar

Join Over 52,000

Photoshop users who subscribe to receive tutorials straight into their inbox!

About Me:

Profile Image

Follow

Jesús Ramirez is the founder of the Photoshop Training Channel, a top Photoshop training YouTube channel with more than 1,300,000 subscribers. More.

Click The Buttons Below!

  • Follow
  • Instagram

Photoshop Tip Of The Day:

August 7, 2018

To activate multiple layers using your keyboard, press Shift Alt [ (Mac: Shift Option [) to activate the layer below the currently selected layer (or the ] key to activate the layer above).

You can keep adding to the selection one layer at a time by tapping on either of the bracket keys while holding down Shift and Alt (Mac: Option).

Get more Photoshop tips →

Tutorial Flashback

  • scripst-event-manager-photoshop
    Using The Script Events Manager In Adobe Photoshop CS6

Search

Upcoming Events

Jesús Ramirez will be presenting at the following conferences or events:

June 10, 2019
CreativePro Week 2019
CreativePro
Seattle, WA

See Previous Events

PTC’s Most Shared Tutorials This Month

  •  
    How To Remove a Background In Photoshop [For Beginners!]...
    L
    62 Shares
  •  
    Create Book Cover Mockups in Photoshop [Pro Techniques]...
    I
    37 Shares
  •  
    Better DUAL LIGHTING Effect In Photoshop [Total Control]...
    L
    5 Shares
  •  
    Channel Based Selections in Photoshop...
    I
    3 Shares
  •  
    How To Repair Old Film Negatives in Photoshop...
    I
    2 Shares

My Tutorials in Spanish – Mis Tutoriales en Español

videosptc.com

Footer

About PTC

The Photoshop Training Channel is a Photoshop resource site for beginners. PTC was founded in July 2012 by Jesús Ramirez. The main goal of this site is to provide quality tips, tricks, hacks, and other Photoshop resources that allows beginners to improve their skills. More.

Connect with Us

Questions? If you have any questions, please feel free to Contact Us!
  • Behance
  • Facebook
  • Instagram
  • LinkedIn
  • Pinterest
  • Twitter
  • YouTube

Subscribe To Our Newsletter

Every week we'll send you Photoshop in-depth tutorials!
JOIN OUR COMMUNITY OF 52,000+ Photoshop Users!

Privacy Policy | Sitemap
Copyright © 2012 - 2021 Photoshop Training Channel.
Adobe, the Adobe Logo, Photoshop and Lightroom are registered trademarks of Adobe Systems Incorporated.
wpDiscuz