reference / interface
range
A bar with two handles in a ui block that gives a vector of its low and high ends, r.x and r.y, between a low and a high: span = range "span" 0 100. The handles never cross. It starts across the whole range, or as start says (start 20 80), and keeps its ends as the sketch reloads.
span = { 20, 80 }ui [ span = range "span" 0 100 start 20 80 ]draw [ rect at (width * span.x / 100) 120 size (width * (span.y - span.x) / 100) 60 ]
How to write it
range text low high [start number number] [at number number] [width number]
Gives vector.