In this example we are going to draw a heart shape. We will end up with something like this.
Once you understand how this works you will be able to use this technique to draw any symmetrical shape you want.
First give yourself a ruler so you can see the middle of your shape or where the reflection will be. To get a ruler hit Apple + R (CTRL + R on Windows) and you will see ruler menus appear at the top and left of the screen. Hover your mouse over the left ruler and then click and drag to place a ruler on the canvas. Then using the pen tool draw your shape. You should end up with something looking like this:
Next we want to mirror the shape. Make sure that your path is selected (use the selection tool if not - shortcut V). Then select the reflect tool (shortcut O). You will see a small blue target icon appear. This is the point at which the reflection will occur. We want the reflection to be on the line so click once on the blue line and the target will move. You should end up with something looking like this:
To make the reflection click hold and drag to the upper left of your path. As you drag hold down SHIFT to constrain the rotation and ALT to copy the shape. If the shape moves to the other side you have forgotten to hold ALT which will copy the shape creating a mirror.
Now for the really tricky bit. Currently we have two separate paths. These are not much use if we want to fill the shape, copy it or use it as a symbol. So we need to join and average the paths together. Averaging means that two end points will be averaged before they are joined. This should make sense when you do this. There is a handy shortcut to join and average at the same time. To do this select the Direct Selection Tool. Select (shortcut A) the end point of your shape. When selected you will see the end point appear as a small blue rectangle. Hold shift and select the end point on the mirrored shape. You should see something like this:
Now hit Apple + SHIFT + ALT + J (Ctrl + Shift + Alt + J on Windows) to average and join the paths. A common mistake will be an error message saying “To join you must select two endpoints…”. This probably means that you have selected other anchor points rather than just the end points. Check there are no other anchor points with blue squares rather than white squares (blue means they are selected and will cause the error.)
If everything has gone to plan you now have a complete, joined path which you can fill, use as a symbol or pattern swatch.
Watch the whole process in the video below
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.