Skip to main content
Participant
November 18, 2020
Question

Does PS provide a way to make a brush that can randomize what it paints?

  • November 18, 2020
  • 4 replies
  • 1711 views

I'm making a map for a game I play and what I'd like to find a way to do is randomize buildings in a town that the map has. Ideally, it would be fantastic to have a brush that can "paint" buildings holding down the mouse button as I paint along a line or shape (i.e. - painting buildings along a roadway).

 

So for example, let's say my map has a road... I'd like this road to lead to a town. I'd also like to have some houses, buildings, etc. along the road. So it would be amazing to have a brush that I could use that, when holding down the mouse button, would "paint" the buildings in a randomized fashion. Some buildings would be painted facing North, some South, some between various angles of the directions, etc. Some being a bit bigger than others, some smaller, some farther away from others and some closer... Maybe a some color variations... Lots of attributes to randomize, so it's possible this might only be possible via a plugin? If so, where do I go to look up what would be required to make one? (I do have some programming experience, so I'd like to see what I would be up against to make it happen, like what API exists and what tools are needed to compile things, etc.)

 

Any insights into this would be appreciated and appologies in advance if this has been asked before.

This topic has been closed for replies.

4 replies

jane-e
Community Expert
Community Expert
November 21, 2020

Like Conrad, I was thinking Illustrator.

  • You could use Symbols and possibly the Symbol Sprayer.
    or
  • You could create an Art Brush from your artwork and change the Color mode, then paint them using varying sizes and stroke colors

Once you create the original artwork of the building, you can then turn it into a symbol and different kinds of brushes quickly as you experiment to see what works best for you.

 

~ Jane

Conrad_C
Community Expert
Community Expert
November 21, 2020

If it’s acceptable to work in Adobe Illustrator, it has Scatter Brushes that can randomly vary what they lay down along a path, or the variations can be set to respond to stylus input such as pressure, tilt, etc., or to scroll wheel input. You can vary size, spacing, rotation, and more.

 

 

If you’trying to fill an area randomly, in Illustrator you can set up objects as Symbols, and then use the Symbol tools to distribute them in various ways. For example, you can use Symbol Sprayer to sort of “hose down” an area with objects, then use Symbol Scruncher to redistribute their density. Other Symbol tools let you vary the color, size, position, etc. of those symbols on the page without having to select each one. And again, you can vary how all of this happens using various types of input.

 

If the master document needs to be in Photoshop, no problem…Photoshop can import Illustrator documents as Linked Smart Objects, so that if you edit the externally linked Illustrator document, Photoshop can update itself with the latest revision.

c.pfaffenbichler
Community Expert
Community Expert
November 18, 2020

Here is a Feature Request on an image hose: 

https://feedback.photoshop.com/conversations/photoshop/photoshop-image-hose-extend-clone-stamp-tool/5f5f44f74b561a3d422c4ac7?page=2

 

I have dabbled with simulating »full-color-brush-dabs« via a Script »borrowing« some other tool in the past, maybe it could be useful to you: 

https://community.adobe.com/t5/photoshop/full-colour-brush-dabbing-simulation-script/m-p/9397073?page=1

 

Participant
November 18, 2020

Thanks, c.pfaffenbichler. That comes across as exactly what I'm hoping for! I'll check it out and see what I can get from it. 🙂

c.pfaffenbichler
Community Expert
Community Expert
November 18, 2020

First off: Photoshop Brushes don’t even support full-color content so I think they provide no solution for you.