I have a radra () function that is designed to prevent the current draw (), new from Retrieve the initialization value DOM, and start over again, the values were in the first place.
But the "redraw ()" in onchange can not see the processing.js redraw () function, so changing the value in the input field has no effect if "redraw ()" is changed to "alert" ('Changed!') "Is," then a popup shows "changed! ", So we know that the problem is not changed, but the inability to import the redraw () function .JS file. Wolfram-automata.html
& Lt; input onchange = "redraw ()" id = "rule" value = "110" size = "4" /> gt; & lt; canvas id = "sketch" data-processing -source = "wolfram-automata.pjs">
Comments
Post a Comment