Skip to content
Clipwright
Menu
Dial gauge with needle and redline: a frame from a film that uses it.
OverlayNew

Dial gauge with needle and redline

A round dial with a needle, ticks and numbers on an arc, linear or log, and a redline that turns the arc to the warning colour.

Version
1.0.0
Added
23 October 2026
Films
Not used in a film yet

Parameters

NameTypeDefaultRangeWhat it does
value (Can change over time)number120-1000000000000 to 1000000000000the value the needle shows; give a follower of the counter, (v) => v, to make it move with the filmCan change over time
minnumber0-1000000000000 to 1000000000000the start of the scale (over 0 on a log scale)
maxnumber240-1000000000000 to 1000000000000the end of the scale; a value past it pegs the needle at the end stop
scalechoicelinearlinear, loglinear, or log for a value that spans powers of ten
limitnumber200-1000000000000 to 1000000000000from this value the arc turns to the warning colour; at or past max for no redline
sweepnumber240120 to 300 deghow far round the arc runs; a car dial is about 240
divisionsinteger63 to 10the most steps between numbers the arc has (the step is rounded up to 1, 2, 5 or 10)
labeltextSPEED– to 40a word under the value; empty for none
unittextkm/h– to 12written after the value
decimalsinteger00 to 4decimal places of the value
formatchoicegroupedgrouped, plain, compact, scientifichow numbers are written: 12,500 / 12500 / 12.5k / 1.25×10⁴
atvec20.84, 0.660 to 1the dial centre: across and down the frame; a dial near an edge slides in
radiusnumber0.160.06 to 0.34the arc’s radius, a share of the frame’s height
sizenumber0.0320.015 to 0.06the height of its numbers and label, a share of the frame’s height
thicknessnumber0.0180.006 to 0.05the arc band’s width, a share of the frame’s height
inkcolor#f3f0e8–ticks, words and numbers
accentcolor#4fb8e8–the live value and what has been reached
warncolor#ff6b4a–danger: past a limit
fontchoicesanssans, serif, monothe face of its words and numbers
backingnumber0.350 to 1how dark the soft panel behind it is; 0 for none
revealnumber0.80 to 5 show long it takes to draw in; 0 shows it at once

Use it in a film

film.js
elements: { 'dial-gauge': { value: 120, min: 0 } }

Use it from your agent

Ask your agent to put it in a film. It finds the element by name.