BruceSherwood
BruceSherwood
I found that I had to insert the following code at the start of rapydscript.js, code I inherited from some time ago: var ρσ_iterator_symbol = (typeof Symbol === "function" &&...
a = (5)3 print(a) transpiles to var a; a = 5; 3; print(a); // displays 5
It would be useful to be able to make a graph visible, just as one can made a canvas visible or invisible. See lib/glow/graph.js. The canvas visible element is in...
It would be helpful to support the use of a label object on a graph; graph objects (lib/glow/graph.js) already have label attributes that contribute to a "legend" beside the graph,...
A canvas generates a thumbnail that is displayed in a glowscript.org folder view, but a graph doesn't but should. See the screenshot function in lib/glow/WebGLRenderer.js, and a use of this...
The graphing package should include a ghistogram option (in lib/glow/graph.js). This could perhaps be similar to matplotlib: https://matplotlib.org/examples/statistics/histogram_demo_cumulative.html n, bins, patches = ax.hist(x, n_bins, normed=1, histtype='step', cumulative=True, label='Empirical') Another possibility...
Unlike the make_trail machinery, attach_trail currently doesn't support specifying an interval. The relevant file is lib/glow/primitives.js.
There should be menu methods to modify the menu choices (rename, reorder, add, delete). The menu object code is in lib/glow/primitives.js. Possibly the methods should be similar to those for...
html text is acceptable in canvas title and caption, and in label objects. It should also be acceptable for the 3D text object. For ideas, see the label function in...
Currently when you create a canvas or graph nothing is displayed until and unless you create an object to be displayed in that canvas or graph, at which point the...