# Difference between revisions of "Dependent gliders"

From JSXGraph Wiki

Jump to navigationJump to searchA WASSERMANN (talk | contribs) |
A WASSERMANN (talk | contribs) |
||

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 | + | var P0 = brd.create('point', [-4,-1], {name:''}); |

+ | var P1 = brd.create('point', [4,-1], {name:''}); | ||

+ | var li = brd.create('line', [P0,P1]); | ||

var A = brd.create('glider', [0,-1,li]); | var A = brd.create('glider', [0,-1,li]); | ||

var B = brd.create('glider', [-3,-1,li]); | var B = brd.create('glider', [-3,-1,li]); | ||

var C = brd.create('glider', [ 3,-1,li]); | var C = brd.create('glider', [ 3,-1,li]); | ||

</jsxgraph> | </jsxgraph> |