/experiments/%model/tangle.html /experiments/%model/tangle-model.js this part in body's onLoad; after live script has downloaded. var table = new Tangle (document.getElementById("MODELNAME"), { initialize: function () { this.CONSTANT = INIT; this.IN_VAR = INIT; }, update: function () { var vals = model(); this.OUT_VAR = vals[0]; this.OUT_VAR = vals[1]; [...] }, });
When the parameters are for VARSLUG, [...], and the variables are for VAR, then you get for OUTVAR