Open bensk opened 8 years ago
Thanks for the bug report!
Unfortunately, this is due to https://github.com/toolness/p5.js-widget/issues/53 being unresolved: createSlider()
is part of p5.dom, and the widget doesn't currently include that library in the iframe that it executes the widget snippet in.
Do you need this functionality soon or is it not a high priority for you?
Thanks for the fast reply!
I'm teaching a bunch of 8th graders about p5.dom tomorrow, but I can have them copy and paste code into the editor.
BTW, your widget has been invaluable for teaching, so thank you!
Oh that's awesome--I love the heading OM DOM DOM :grin:
Thanks, I'm glad you find the widget useful!! Unfortunately I don't have time to add support for p5.dom by tomorrow, but I will definitely prioritize it highly as I continue work on the widget.
This works in p5:
but in the widget I get
Line 12: Uncaught ReferenceError: createSlider is not defined