a = 2 (slider from 0 to 10, step 1)
A: (a, 0.0)
B: (0.0, 10.0 - a)
b = Segment(A, B)