s00500 / ESPUI

A simple web user interface library for ESP32 and ESP8266

Home Page:https://valencia.lbsfilm.at/midterm-presentation/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logarithmic sliders

mabartibin opened this issue · comments

Describe the solution you'd like
I’d like a new control type LogSlider, or alternatively a flag on the existing slider, to make the scale logarithmic. E.g. on a 1–100 slider, 10 is in the middle.

Describe alternatives you've considered
Super flexible solution: allow to provide code that translates the slider position (0.0–1.0) to a value. That would allow the slider value label to include units and e.g. go from 1Hz → 1kHz → 1MHz

I suppose the code would have to be in JS though.