Cutting a Key for a Cylinder Lock

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

This Demonstration shows how a typical cylinder lock and key work. When the key cuts align with all five pins and the little light lines line up with the change in background color, the key and the lock cylinder can rotate. This moves a bolt, thus unlocking the door. You can change the heights of the cuts to find the right combination (which is shown in Snapshot 3).

Contributed by: Edwin Li (February 2016)
Open content licensed under CC BY-NC-SA




Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.