These cams are solid models of bivariate and univariate mathematical functions plotted in cylindric coordinates (left and middle images) and polar coordinates (right image). They were not meant to be visually examined, but were used in mechanical analog computers for aiming battleship guns during WWII. They were also called computing cams.
Mechanical fire control aids started to be developed in the 1900s and and were still in use in the late 1980s. During WWII, they could solve multivariate calculus problems in real-time. While cams were used for hard-coded functions, gears were used for arithmetic calculations and other specialized devices were used for multiplication and differential calculus. The design of these analog computers is well explained in the video and PDFs linked below.
The oldest known mechanical analog computer is from 150BC (see our entry greek orrery). Cams were already used in 300BC to control automata, and were further developed in the 13th century by Muslim polymath al-Jazari.
- US Navy (1953) Basic Mechanisms in Fire Control Computers (Video).
- US Navy (1944) Basic Fire Control Mechanisms (PDF files).
- Sean Gallagher (2014) Gears of war: When mechanical analog computers ruled the waves.
- Wikipedia articles on Rangekeepers, Cams, and al-Jazari.