Materia

Detents on the level slider

Material/Brushed steel03/06

Drag sideways to turn it over

Touch temperament

A keyboard has a temperament: the tuning that decides how every key relates to every other. Steel is tempered: treated until it has the hardness you want. An interface has one too. It is the mass, stiffness, damping and hardness behind every part, and most interfaces never tune it. Tuning it is tempering.

Four numbers, everything else follows

SpringMass and stiffness set the speed, damping sets the overshoot.
ContactHertz theory: harder and faster means a shorter hit, which reaches higher modes.
ModesDecaying sines at the material's frequency ratios. Stiffness over mass moves them all.
FrictionHow far the puck slides and how the dial coasts. Hardness sets the bounce.
LightThe material sets the reflection and the height of each bevel. The pointer moves the lamp.

Take the temper with you

This is the code for what is tuned above, and it updates as you move the faders. The page runs the same module: nothing is a sample.

Download temper.js

What it is not

The modes are a model of each material, not measurements of real ones, and contact size is fixed. Loudness is mapped to stay comfortable rather than to match the physics. Moduli are close to real ones for glass, walnut, steel and ceramic; felt and rubber are set firmer so that speed changes their tone. The numbers show what the model does. Whether it sounds right is for your ear. Headphones or small speakers will change it. Vibration only works where the browser allows it, which today means Android, not iPhone.

This piece draws the object with WebGL2, which this browser has turned off.