How to assign HTML input forms to p5 variables?

Hi! Welcome to the forum!

You can choose an element from HTML with select and then value to get the value (not sure if it works with a color picker though)

https://p5js.org/reference/#/p5/select

https://p5js.org/reference/#/p5.Element/value

if you have more detailed questions I recommend you to post the code :slight_smile:

2 Likes