How to use random fill pattern (scripts) in Photoshop tutorial

A quick guide to creating random fills using the pattern script in Photoshop fill command tutorial for CC 2018 2017 2015 CS6 etc

Random fill pattern script in Photoshop

how to use random fill pattern scripts in Photoshop tutorial
  1. Open pattern file or texture for the pattern tile (for random fill script) for Photoshop

  2. Image menu

  3. Image size

  4. Set width to something like 200px (random fills work best with smaller pattern tiles)

  5. Set height to something like 200px

  6. OK

  7. If the image is on a layer then you can add layer effects such as color overlay such as red overlay

  8. Remove background layer if you can by deleting it in the layers panel

  9. Go to the edit menu

  10. Define pattern

  11. Edit menu

  12. Fill

  13. Select the "custom pattern" option

  14. Script option ON

  15. Script 'random fill'

  16. Select pattern

  17. Click OK

  18. Go to the panel and set size etc


Video tutorial on the subject by (youtube)


Transparency tiles : Random fill scripts work best with transparency in the pattern tiles in Photoshop.


Make certain there is some transparency to get the best results as if you use just an image as the pattern tile (say filled with a background of a solid color) then you will just end up with a document of colorful pattern stamps in a square shape and at different angles etc (which is fine if that is the requirement from the random fill patterns)


Buy Price : $3.49 US or equivalent. 140 Greek ornament tiles for commercial use, royalty free - use in scripts etc (V13) gallery


Run scripts once or multiple times : multipleAs with all things in PS, the pattern script can be used once or multiple times.


You can also combine the result with other effects such as blurs as well as adjustments. All kinds of wonderful designs can then be generated instead of a single basic apply of the tool


Fade command: multiplyYou can run tool and then go to the edit menu and fade command and then use the results with different blending modes such as difference and exclusion and darken etc.


In the image on the right, the tool was applied and the entire document was occupied by spherical color balls. The tool was applied on top of a gradient. The fade command was used with multiply blending mode to make a lot darker image


Use on layers : random fill layersYou can use the feature on a layer as that makes it easier for combinations of the colorful designs.


You can always just delete the layer if it doesn't work out and another feature of the layer is the transparency and how the random fill pattern only fills part of the layer and leaves the lower layers still visible and they can then be manipulated further using tools such as camera raw filter effect in Photoshop as well as adjustment layers and Photoshop styles and you can always use opacity and blending modes to blend all the layers and artworks further


Using them as a layer, you can also convert them into smart objects and use them with effects that can be changed at any point


Use with background layer only if you wish : backgroundOf course, you can run the tool and just apply to the background layer and just add more applications of the tool to the background layer and that can also be interweaved with effects such as blurs to add interesting variations into the design (or re-colored between applies such as adding adjustments or brush strokes etc)


Use selections / masks : styles selectionAnother good thing about layers is you can run the tool and the result can then be used via the select menu and load selection and transparency. The selection can then be combined with effects and layer effects etc


You can then also create a quick layer mask by going to the layers menu and layer mask and from reveal selection.


For example. Create a new layer and apply the edit menu and apply the design again and then go to the select menu and then use the load selection command and select the transparency and copy and then add a shadow or bevel via the layer styles panel


Panel : dialogSettings such as density, scale, rotate etc to create 1000s of different patterns


Once you finally get to the 'real' panel, you will see an option for adding presets (which may or may not be useful and if all your patterns etc are the same size then perhaps it is quite useful) and you also have a selection of settings to choose from such as


Set the density

Minimum scale factor

Maximum scale factor

Max distance from path (probably disabled unless you have a path selected)

Rotate pattern - randomize between 0 and 360

Color randomness. The color randomization is great for changing reds into blues and greens etc at the maxim or for subtle color shifts if set low.

Brightness randomness. Brightness is great for adding some randomization of light and dark artwork into the design. The combination of brightness and color is very good but the result will depend on the quality of the pictures.


Density : densityYou can increase the density etc and you will see more of the stamps or tiles in the preview. If the image size ratio to the pattern tile size is OK then the preview should match the actual result (as mentioned). Even if you ram the density up to 10 it may never actually entirely fill the entire preview or result with a single application so if you set it to 10 and want it to fill the entire image then run the tool a few times or just increase the size of the tiles by using the minimum and maximum scale factor settings.


If you set though scale factor quite low, it will be quite hard for the density setting to totally occupy the entire document unless you add repeat applies.


Selection on the left is high density, selection on the right is low density.


Resize maximum and minimum : maximumYou can re-size the tiles by setting a minimum and maximum (the tiles are then sized randomly in between those) so if you have a tile of 200 x 200 then the scale factor of 0.1or 10% will result in some fairly small tiles generated (or not depending on the randomization) but if you set the maximum to 3 then you will have a lot of larger tiles and perhaps the quality will not be so great - this is something for you to decide. Changing the scaling does not affect the randomization of the positions but changing the density does (nor does the color or brightness). Sadly, there is no 'randomization' button added to the panel which can be click to change the position etc of the tiles.


To get them to be all equal sizes, set the maximum and minimum to the same value such as 1.


Use paths to control layout :paths and random fill in PhotoshopPaths (via the custom shapes tool or pen tool etc) and using that to control the tile layout (as you can see in the preview on the right)


OK, actually quite useful as you can run the routine with a path. Simply create a path using the pen tool and make certain the path is selected Via the path panel) and then run the routine via the edit menu. Instead of stuffing the entire document or selection, the tiles follows the line of the path. As the path can be any kind of design such as a spiral or zigzag artwork etc, you can create some really interesting artworks just by using the path feature. If there is no path, the path option in the panel will be disabled


May require a few re-runs of the tool to generate enough tiles from the effect


Use in selections : selectionYou don't have to occupy the entire document space with the images. You can create a selection such as a rectangular marquee tool selection or a selection using color range etc via the select menu or use the magic wand. In the image on the right, a selection has been created using the color range.


The selection is then used with the routine and 100s of small dot tiles are added over the face.


Use with effects : effectsYou can also combine the result of the tiles with effects such as blurs and oil paint etc. You can then re-apply the effect perhaps with a lower density or different sizes of tiles and then apply another effect on top of that such as poster edges etc.


The image on the right combine a globe tile and the liquify filter applied a few times.


Actions: actionYou can record the setup for the tiles via the actions panel. You can also combine that with effects such as liquify as well as repeat applies of the tiles with varying sizes etc


The action records the name of the tile so if the tile is 'xyz' then to use a different tile in the action then just remove the previous tile or rename and then rename a different one to 'xyz' and then re-run the action.



Keywords : How to use random fill pattern (scripts) in Photoshop tutorial



Commercial use - Royalty free (c) 1995-2018 Andrew Buckle, Maidstone artist, tel: +44 1622 / 688 375 E-mail: support@