Good evening!
I'm writing this Manipulate[a^2, {a, 0, 1}] with the intention of using it in an interactive HTML. It works perfectly fine in the WLJS notebook, but the problem arises when I try to convert it into dynamic HTML. It does get converted into HTML, but afterwards, when I change the value of the slider, nothing happens. The value of a^2 remains exactly where it was the last time I moved the slider in the WLJS notebook.
I've seen the InputRange (https://wljs.io/frontend/Reference/GUI/InputRange), but I haven't quite understood how it works—especially when I try to create something more complex, like:
Manipulate[ArcCos[Sqrt[(b^2 + c^2 - a^2)/(2*b*c)]], {a, 0, 1}, {b, 0, 1}, {c, 0, 1}].
Thank you in advance!
Good evening!
I'm writing this
Manipulate[a^2, {a, 0, 1}]with the intention of using it in an interactive HTML. It works perfectly fine in the WLJS notebook, but the problem arises when I try to convert it into dynamic HTML. It does get converted into HTML, but afterwards, when I change the value of the slider, nothing happens. The value ofa^2remains exactly where it was the last time I moved the slider in the WLJS notebook.I've seen the
InputRange(https://wljs.io/frontend/Reference/GUI/InputRange), but I haven't quite understood how it works—especially when I try to create something more complex, like:Manipulate[ArcCos[Sqrt[(b^2 + c^2 - a^2)/(2*b*c)]], {a, 0, 1}, {b, 0, 1}, {c, 0, 1}].Thank you in advance!