Creating a Keyhole for Your Lock: A Step-by-Step Guide

Creating Keyhole and Triangle Shapes: Finalizing the Lock Design

Explore the process of creating a keyhole for a digital lock using the ellipse tool, stroke and fill changes, and the polygon tool. The steps include drawing a circle, changing its fill color, creating a triangle, and merging the two shapes to form one cohesive object.

Key Insights

  • The tutorial describes how to use the ellipse tool from the toolbar to create a circle that will form the basis of the keyhole.
  • It also explains how to create a triangle using the polygon tool, adjusting the number of sides and the radius to fit the design needs.
  • Lastly, it details how to merge the circle and triangle together using the shape builder, creating one coherent keyhole shape for the lock.

Note: These materials offer prospective students a preview of how our classes are structured. Students enrolled in this course will receive access to the full set of materials, including video lectures, project-based assignments, and instructor feedback.

In this video we'll be completing our lock. To create the keyhole we're going to be using the ellipse tool from our toolbar.

We'll click and hold and quite simply we're going to find the center and draw a circle using ALT and shift. We'll release and rather than this having a stroke on the outside we're going to change it from a stroke to a fill. To do this we'll go over to our toolbar.

We'll swap the fill and stroke so that the inside is black and for our stroke now it's currently set to white. We'll click on it and we'll then click none so it has no stroke and only the black fill. Next we'll create our triangle.

To do this we'll go to our toolbar and select the polygon tool and from here we can click and to create a polygon with the polygon tool we simply have to tell it the number of sides that are needed. In this case we'll type three for three total sides creating a triangle and for the radius we want it to be relatively small since our artboard is only 30 pixels wide. So in this case we'll just take a guess and we'll say four pixels and hit ENTER and even though this triangle is too large we can simply scale it down by clicking on one of the corners and scaling it while holding shift.

We'll drag it to about here and then use v to select our object and move it up so it intersects with the circle. As a final step we'll select both objects and use the shape builder to create them as one total object. We'll click and drag across all three we'll see that we now have one keyhole shape.

Adobe Illustrator Bootcamp: Live & Hands-on, In NYC or Online, Learn From Experts, Free Retake, Small Class Sizes,  1-on-1 Bonus Training. Named a Top Bootcamp by Forbes, Fortune, & Time Out. Noble Desktop. Learn More.

We'll then hit v and in case of my lock I simply want to move it down a little bit. In order to move it down and not get too far off to the side I can use the purple guides or I can hold shift as I drag to make sure I stay in line. I'll release it right about here when it looks natural and we now have a nice looking lock.

Let's now center our lock by dragging the selection box over all the elements and we'll group it right clicking selecting group and we'll then horizontally and vertically align it. Well done we've completed our lock let's go into our working layer and double click titling this seven lock and hit ENTER and finally we'll select it from the layers panel clicking to the right of lock and dragging it into final. We can now hit CTRL S on the keyboard to save our work and in the next video we'll be working on a gear icon.

See you there!

How to Learn Illustrator

Master Illustrator with hands-on training. Illustrator is an Adobe design application that uses vector graphics to create scalable images, including logos, icons, and fashion patterns.

Yelp Facebook LinkedIn YouTube Twitter Instagram