- -. , " ":
(100, 0.0), (200, 0.25), (300, 0.5), (500, 0.75), (1000, 1.0)
- , , , 100-1000.
If you do not want to implement complex spline interpolation, you can just take linear, that is, for any point on your slider between 0.0 and 0.25, you linearly interpolate between 100 and 200, between 0.25 and 0.5 interpolate between 200 and 300 and t .d.
source
share