I have a slider:
min val. = 0
max val. = 20'000
step = 0.1
min
, max
values and step
are constants
.
On each step (i.e. thumb position change) slider returns a current value and a thumb position in %.
How can I transform the current returned value to make it grow exponentially like on the 2nd graphic - where 0 - 8'000 - take 80% of slider width.
Red graphic:
On each step (thumb position change) slider returns a current value and a thumb position in % - current value grows linearly depending on the thumb position.
Green graphic:
This is what I need. I can only use current thumb position and current slider value as a function arguments.