Line Creator Script
Line Creator Script is a unique tool for creating vector line patterns in Photoshop. The script uses two existing paths in your project to create a new flowing pattern. Ideal for graphic design and illustration. Create patterns for logos, fabric design, composition guidelines, comic book art and more.
- Video Walk-Through
- Make a Pattern in 4 Easy Steps
- Setup and Getting Started
- Techniques & Troubleshooting
Make a Pattern in 4 Easy Steps
- Draw two paths in Photoshop.
- Rename the path layer.
- Run the script.
- Select your line options from the dialog box.
The code is easy to access for developers or aspiring developers wishing to modify the code for their needs.
Support is available from the developer.
Setup and Getting Started
- Copy the file into the scripts folder in your Photoshop presets folder. The path may be a little different on each computer but typically found in C->program files->Adobe->Adobe Photoshop CS5(64 bit)->Presets->Scripts.
- Once the file is copied, restart your Photoshop application. Check in the File menu under scripts and it should appear in the list as 'LineCreator'.
- Open or create a new document before running the script.
- Use the pen tool and draw any two(2) paths you like. This will be the boundary of your line pattern. The script requires exactly two paths and both paths should be on the same layer in the Paths panel. (Go to the menu windows->path if you don't see the paths panel.)
- In the paths panel you should see your path containing the two lines named "Work Path". Rename the path to "my path".
- Save your work before running the script.
- Choose file->scripts->LineCreator to run the script. A dialog box should appear.
The dialog allows you to select the number of lines and spacing of the lines in your pattern. The spacing allows you to choose between even spacing or random spacing. The dialog box also contains a display options panel. The display options let you choose to save only a vector path or a vector path and pixel layer stroke of your design. The stroke will use your current paint brush settings and you have a choice to simulate pen pressure on your stroke. The final input box allows you to create designs using a path saved as a different name. Just enter the path name you would like to use as the starting point for your design. An alert will appear if you enter a name that does not exist.
- Click OK and your pattern should appear. The stroke may have a couple seconds delay on slower machines.
- A new art layer and path are now part of your document and can be edited any way you want. You will see a new named path is created of the resulting pattern in the paths panel and a new art layer in the layers panel with the pixel version of the same pattern if you selected the stroke option.
- Run the script as many times as you like and have fun!
- All the code is easy to view and edit for any programmers or aspiring programmers wanting to add to it. Default settings are easy to edit in the script.
Techniques & Troubleshooting
- Use random paths to discover new patterns. The script works with any two paths. The paths can be open or closed and each path can have any number of anchor points.
- You can create patterns where one path is a single anchor point. The script will have the line converge smoothly towards the point. This technique can produce interesting circular patterns.
- The script can be used with any two paths. If in some cases you require better control of the results, use more anchor points and try to evenly distribute the points when creating your boundary lines.
- The script creates a new layer with the pattern results. This layer is easy to edit so you can use either the entire pattern generated or pick and choose pieces of the pattern for your finished artwork.
- The newly created results layer is easy to edit and can be used to generate even more patterns. Try selecting an entire row of anchor points generated by the script with the direct selection tool and moving them together. You will see the pattern moving but remaining smooth and this can help you discover new designs.
- Experiment with different number of lines and the random spacing option in the dialog box. Here is an example of patterns created by using the random setting:
- The line patterns can be used as guidelines for measuring and placing other art elements to create balanced compositions.
- Use the stroke patterns to create custom brush presets.
- Using the name 'Work Path' as your starter path is not recommended because the original starter path will not be saved. Adjustments are easier if the original path is saved.
- If you find the pressure option on the stroke is not working check your brush settings. The brush may have its pressure sensitivity turned off and so it doesn't allow the 'simulate pressure' option on the stroke.
- If you find the program cannot read your path name check that there are no extra spaces and the name is case sensitive so make sure the capitalization's are the same.
- The script is tested in Photoshop CS5 & CS4. The code is easy to access and modify if there are conflicts using it in other environments.
- Always save your work before running the script.
- Performance will depend on your computer speed and the number of lines and control points in the pattern.