JSXGraph filter - mkraska/meclib GitHub Wiki
Generic JSXGraph applets can be created anywhere where HTML text can be placed.
- The ID (box) in the jsxgraph html tag must match the ID given in the board constructor
- The size and the coordinate limits are independent.
Code template
<jsxgraph width="400" height="240" box="jxgbox">
(function() {
// here comes your code
const board = JXG.JSXGraph.initBoard('jxgbox', {
boundingbox: [-6.5, 3, 3.5, -3]
});
})();
</jsxgraph>