Published
Edited
Dec 18, 2018
2 forks
Insert cell
Insert cell
Insert cell
Insert cell
Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.

Insert cell
Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.

Insert cell
GGBApplet = require("https://cdn.geogebra.org/apps/deployggb.js")
Insert cell
Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.

Insert cell
ggbApp = GGBApplet({"id":"gapp1","appName": "classic", "width": width, "height": 600, "showToolBar": true, "showAlgebraInput": true, "showMenuBar": true })

Insert cell
{ggbApp.inject('ggb-element');return md`Geogebra started`}
Insert cell
ggbApp.getParameters();
Insert cell
ggbApp.getViews()
Insert cell
ggapp1 = ggbApp.getAppletObject()

Insert cell
ggapp1.evalCommand("A=(2,2)")
Insert cell
//aaaa=ggapp1.getBase64()
Insert cell
Insert cell
//ggapp1.setBase64(aaaa)
Insert cell
cas= (p)=> ggapp1.evalCommandCAS(p)

Insert cell
Insert cell
Insert cell
Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.

Insert cell


Insert cell
Insert cell
Insert cell
gg2 = new GGBApplet({ "appName":"3d","width": width, "height": 600, "showToolBar": false, "showAlgebraInput": false, "showMenuBar": true ,"views": {is3D: false, AV: false, SV: false, CV: true, EV2: false, CP: false, PC: false, DA: false, FI: false, PV: false, macro: false}}, true)
Insert cell
html`<div id="gg2-div"></div>`
Insert cell
// {gg2.inject('gg2-div');return md`Geogebra started`}
Insert cell
ggbteste = { let xx=GGBApplet({"id":"gapteste","appName": "classic", "width": width, "height": 600, "showToolBar": true, "showAlgebraInput": true, "showMenuBar": true }, true);xx.inject('gg2-div');
return xx.getAppletObject()
}
Insert cell
ggbteste.evalCommand("B=(2,3)")
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more