Skip to content

Knob ​

Held inert and drawn as a rotary control bound to var over range, a (min,max)(\mathrm{min}, \mathrm{max}) or (min,max,step)(\mathrm{min}, \mathrm{max}, \mathrm{step}) tuple.

Knob(var, range)held inert; drawn as a rotary control bound to var over the (min,max)(\mathrm{min}, \mathrm{max}) or (min,max,step)(\mathrm{min}, \mathrm{max}, \mathrm{step}) range
Typed signatures
TypePackageApplies
(any*) -> anyformatsalways

Domain: Graphics·Drawn as Knob

Examples

Basic #

held inert: it evaluates to itself, and is drawn by the element

live ↗
InKnob(x,(0,10))\mathrm{Knob}(x, (0,10))OutKnob(x,(0,10))\mathrm{Knob}(x, (0,10))

A knob over a range

live ↗
InKnob(k,(0,5))\mathrm{Knob}(k, (0,5))OutKnob(k,(0,5))\mathrm{Knob}(k, (0,5))
About
Examples2
Checked againstWolfram Language 1 agree