[pictslider] float output?

Josh Stovall's icon

Is there a way to set [pictslider] to use floating point numbers? or a similar object that provides this functionality?

Pedro Santos's icon

Use the scale object on the output of pictslider values.
For instance: [scale 0 127 0. 1.]

Josh Stovall's icon

I am aware of [scale]...just hoping (and wondering why there isn't??) a way to use pictslider with floats

Roman Thilenius's icon

because mouse doesnt?

Josh Stovall's icon

The only reason I bring it up, it would be useful to have an object to interface directly with floating point x/y interface (such as the pads on HTC Vive controllers)

Roman Thilenius's icon

i pull my rhetoric question because i am wrong. the sliders also support float ranges - and i use it daily.

see the positive side: when you have to scale it yourself outside, you can interpolate the pixel values before you do. :)

Efrain Rozas's icon

I use 1 too 100 and then divide the output by 100.