How to make a series of rectangles follow a pen path
How to make a series of rectangles follow a pen path
Question
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.
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.
Popular Answer
Do this make a new file:
- file size should be of your rectanlge size and fill it will all blac(or any color)
- go to edit and click define new brush
- draw a path
- adjust brush settings(spacing) so each brush is away from each other as much as you want.
- you could also make them rotate to the flow of the path.
- 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.