What is the easiest way to live-edit the value of a variable within the javascript draw() function?

Viewed 10

Image here

The problem seems quite simple to me, yet I can't find any straightforward answers. What's the best way to let me live-edit this variable within the draw() function? I can edit it by changing it and reloading the website each time, but I'd much prefer some way of inputting the variable and it saving immediately. Some kind of text box maybe?

0 Answers
Related