Hi all
So I have a function that creates multiple sliders. The function is then looped to create multiple sliders. I want the slider values to be stored in an array, for each slider a single array element. How would I have to do that without making a variable for every single slider?
this shows a possible function,
as the words are inherent good or bad,
the color (red … green) i tried is worthless
it’s just to show coding possibilities ( slider feedback )
Thanks for your suggestion, I should have specified my question. The sliders are only the first step in the process. After setting the sliders, you can proceed to the next page, where a picture is calculated based on your answers. For that picture, I need all the slider values stored and separately accessible.
In Kll’s code the values of each slider is properly displayed on the canvas. Your next step could be to figure out how (and when) those values get stored as well. Will you save those values constantly in an array? Will the values be stored once the user pressed the ‘next’ button?