In this quick example of using pattern swatches we are going to use a t-shirt design. Pattern swatches allow you to quickly fill shapes with patterns and even illustrations. I’ve drawn a simple t-shirt on the canvas using the pen tool.
To create a pattern swatch you simply draw your pattern or shape as you normally would on another part of the canvas.
Draw two rectangles on the canvas and then fill them with two different colours. I’ve chosen blue and white. Then select both shapes and drag them into the Swatches box.
If you can’t see the swatches box go to Window > Swatches. You should see the pattern that you dragged into the Swatches box now available. To use the pattern select the Object you want to fill using the selection tool (v) and then click on the pattern you just dragged in. If everything went well you should now have a striped t-shirt.
The real power of this feature is that you can quickly fill shapes or objects with illustrations. Let’s say we are going to a 60’s flower power party and we want to design a t-shirt for the occassion. Using Pattern Swatches we can draw a flower, drag it into the swatches and then quickly fill the t-shirt. Easy.
Have an update or suggestion for this article? You can edit it here and send me a pull request.
Using HashiCorp Vault with LDAP
How to use HashiCorp Vault to setup an LDAP backed secret store with read-only access for users in groups and read-write access for specific users
Linux and Unix xargs command tutorial with examples
Tutorial on using xargs, a UNIX and Linux command for building and executing command lines from standard input. Examples of cutting by character, byte position, cutting based on delimiter and how to modify the output delimiter.
Copy a file in Go
How to copy a file in Go. The ioutil package does not offer a shorthand way of copying a file. Instead the os package should be used.