We are going to create a simple comment icon that can be use on a website or CMS. We’ll use some simple illustrator techniques to achieve the effect.
First we want to create the shape. So choose the Elipse Tool (shortcut L). Draw a simple oval on the canvas. Simple enough. Now we need to make it look like a speech bubble so select the pen tool and draw a small triangle in the bottom right hand corner of the canvas. You should end up with something like this.
Now we want to join the oval and the triangle together. To do this we will use the pathfinder tool. Go to Window > Pathfinder to bring up the menu. Then use the Selection Tool (shortcut V) to ensure both the Elipse and Triangle are selected. Then click the Merge icon which is the third from the left at the bottom. This merges the shapes.
Now we want to add some detail. To create a simple border we use Offset Path. You will find this at Object > Offset Path. Select an offset of -3 or whatever looks good and you will see that the object has been duplicated inside the original one.
Then give the new shape a gradient fill. Get the gradient menu up and create the gradient you want. Then fill the new shape. Select Linear for the type and then choose the angle of your gradient.
Give the outer shape a stroke and finally give the bubble a highlight by drawing another elipse and filling it with a lighter gradient. Flip to the transparency menu (next to the Gradient menu). Choose the screen option for your highlight. And that’s it.
For added effect you might like to add a pencil or pen in or whatever you need to denote your user actions.
Why not download the illustrator file and work through the example yourself?
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.