Dependent gliders: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<jsxgraph width="600" height="600"> | <jsxgraph width="600" height="600"> | ||
var brd = JXG.JSXGraph.initBoard('jxgbox', {boundingbox:[-5,5,5,-5], axis:true}); | var brd = JXG.JSXGraph.initBoard('jxgbox', {boundingbox:[-5,5,5,-5], axis:true}); | ||
var P0 = brd.create('point', [-4,-1], {name:''}); | var P0 = brd.create('point', [-4,-1], {name:'', face:'[]'}); | ||
var P1 = brd.create('point', [4,-1], {name:''}); | var P1 = brd.create('point', [4,-1], {name:'', face:'[]'}); | ||
var li = brd.create('line', [P0,P1]); | var li = brd.create('line', [P0,P1]); | ||
var A = brd.create('glider', [0,-1,li]); | var A = brd.create('glider', [0,-1,li]); |