Cutting a Key for a Cylinder Lock

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
Snapshots
Details
detailSectionParagraphPermanent Citation
"Cutting a Key for a Cylinder Lock"
http://demonstrations.wolfram.com/CuttingAKeyForACylinderLock/
Wolfram Demonstrations Project
Published: February 17 2016