Fork me on GitHub
#quil
<
2021-10-07
>
Charles Comstock17:10:47

I usually just make a top level defonce atom, and attach all the inputs to update the state of that atom with reagent. Then in the sketch I just deref that atom to fetch values on setup or update. You can use the builtin p5js inputs, but it feels kinda awkward. If you want to go that road, .createSlider , .createCheckbox , and even .createDiv from the p5js library are all accessible to call on (quil.sketch/current-applet).