Hi everyone,
I have a very basic understanding of p5.js and I am working on a program using sliders for a psychological experiment. The sliders will be used to answer questions on a scale from “nothing” to “a lot”. When doing this in paper-form , the subjects mark their response with a pencil on a line of width 10 cm. My problem is how to set-up the width of the slider so it is always a fixed length (i.e. 10 cm) independent of the resolution of the screen. Thanks a lot!