How to make a series of rectangles follow a pen path


I am trying to get a series of shapes (rectangles) to follow a path (sine wave) that I made with the pen tool, but I have no clue how to do that or if it is possible.

I have tried warping a rectangle into the sine wave path, but it takes many different warped rectangles and it isn't smooth.

I thought this process might work for rectangles, but it only works for text.

7/4/2014 12:53:00 PM

Accepted Answer

If you have Adobe Illustrator and all you need are rectangles, you can simply use a dashed stroke with a large stroke weight....


If you need one rectangle, as AndroidHustle suggests, simply untick the "Dashed Line" option.

Then to edit the rectangles, choose Object > Expand. Then copy this in Illustrator, switch to Photoshop and Paste as a Shape Layer.

If you must do this with only Photoshop CS5, there is no easy method. Except to maybe set up a square brush shape and then draw a path with the Pen Tool, switch to the Pencil Tool and hit Shift+Return to stroke the path with the square brush.

enter image description here

3/22/2013 8:52:00 PM

Do this make a new file:

  1. file size should be of your rectanlge size and fill it will all blac(or any color)
  2. go to edit and click define new brush
  3. draw a path
  4. adjust brush settings(spacing) so each brush is away from each other as much as you want.
  5. you could also make them rotate to the flow of the path.
  6. then go to path panel while path selected, not vector layer, just path right click and select stroke.

You can do this very easily in Illustrator and have a vector end result meaning you would be able to resize and ect. But There is a way to do it in photoshop as well.. There ARE things that only corel draw can do :D.