I am trying to develop a small tool and I am stuck on a very simple problem.

This how I want it to look:

enter image description here

I have

minValue = steps = 100.000
valueRange = 500.000.000 - 100.000
newPercent = where the circle is right now (0-100%)
newValue = minValue + (valueRange * newPercent / 100.0);

The range is very big, and it is very hard to set the right value at the beginning, but when the value is above 200 million, I don't care about 100000. So I wont to make it exponential; e.g., $x=y^2$

That what I was thinking.


I want to make the first steps with 100.000 and them more and more.

Maybe like this?


Maybe I am totally wrong.

Any suggestions?

  • 1
    $\begingroup$ Take a look at logarithmic slider, try to implement your ideas and if you get stuck, we will help you for sure :) $\endgroup$
    – Kuba
    Commented Feb 11, 2014 at 22:08
  • $\begingroup$ p.s. pressed Alt makes Slider less sensitive. $\endgroup$
    – Kuba
    Commented Feb 11, 2014 at 22:23
  • 2
    $\begingroup$ On OS X pressing Shift+Options (I guess Shift+Alt on other systems) makes the slider move even slower. I can almost control the 5th digit after the decimal point in a range of (0, 1) like this. $\endgroup$
    – Szabolcs
    Commented Feb 12, 2014 at 0:53
  • 1
    $\begingroup$ I'm voting to close this question as off-topic because it is too localized and abandoned. $\endgroup$
    – Kuba
    Commented Jan 31, 2015 at 0:35


Browse other questions tagged or ask your own question.