P5.js gui library slider control

first step is to go back and try without GUI,
you need a array of speeds (ok) and a array of current angle ( not only ONE )
and a smarter draw function.
https://editor.p5js.org/kll/sketches/kaYULGIFA

now start again with GUI,
on a click/change event
must set/change the speed of the selected fan inside the speed array.

1 Like