Knob with progress bar
A gain knob whose arc grows from the center position, to the left for cuts and to the right for boosts.
How it's built
- The ticks and the dark track share
range-270 from-225, the usual knob sweep with the gap at the bottom.fit-rangeputs the first and last of the 25.vectors on the two ends. - The colored arc is one
<o-arc>withoutvalue, so it fills its ring's range. The script sets that ring's--o-fromand--o-range: from the top for a boost, from the value back to the top for a cut. - The body is a satellite fifteen lanes wide on
orbit-0. A satellite is a universe too, so the.gravity-spotinside it places the pointer relative to the knob, androtateon that system turns it. - The universe is the
role="slider", with pointer capture for dragging and the usual keys.
Related
- LED knob: discrete steps
- Circular progress with handle
- Knob demo: a 0 to 100 volume knob
- Build a knob: a step-by-step guide
- Orbit Kit knob