Spec

Read from the CSS this page runs on. Continuous, 0 to 100. A ring of a hundred fine ticks wraps the whole capsule, one per percent: it starts at the bottom, climbs the right side, crosses the top and comes down the left. The ticks light in the lamp's colour up to the level, and a long marker stands at it. The level and a mood word read inside the lamp, always on screen, and the lamp shows it too, breathing a soft glow: warmer and dimmer when low, paler and brighter when high.

Lamp and ticks

Capsule
Capsule to ticks
Ticks
Tick
Marker
Hit area30px along the track
Glow
Room glow

Type

Level
Mood word

Colour

Lamp, off
Light, low
Light, high
Ticks, unlit
Every tenth, unlit
Ticks, litThe lamp's own colour at that level
Type in the lampMoonlight while the lamp is dim, night navy once it is bright

States

HoverA small moonlight dot stands outside the ring at the pointer, and the ticks between the marker and it brighten, a preview. The lamp stays
PressedThe marker grows to 28px and turns warm with a glow; the level grows 1.08
DragRound the capsule; ticks, lamp, room glow and number follow with no lag, and the marker holds at off and full instead of wrapping
TapSets the level at the tapped tick
KeyboardArrows 5; Page Up and Down 25; Home and End off and full