Desargues's theorem: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
var board = JXG.JSXGraph.initBoard("jxgbox", {boundingbox: [-5,5,5,-5], axis:true, showCopyright:false, showNavigation:false}); | var board = JXG.JSXGraph.initBoard("jxgbox", {boundingbox: [-5,5,5,-5], axis:true, showCopyright:false, showNavigation:false}); | ||
var | var r = board.create('point', [-4, -2], {name:'q'}); | ||
var | var r1 = board.create('point', [-1.5, -2.5], {name:'', color: 'blue'}); | ||
var | var r2 = board.create('point', [-1.5, -1.7], {name:'', color: 'blue'}); | ||
var r2 = board.create('point', [-1.5, 0], {name:'', color: 'blue'}); | |||
/* | |||
var l1 = board.create('line', [q, q1], {straightFirst: false}); | var l1 = board.create('line', [q, q1], {straightFirst: false}); | ||
var l2 = board.create('line', [q, q2], {straightFirst: false}); | var l2 = board.create('line', [q, q2], {straightFirst: false}); | ||
Line 14: | Line 15: | ||
var p1 = board.create('glider', [-1, -2, l1], {name:'p_1'}); | var p1 = board.create('glider', [-1, -2, l1], {name:'p_1'}); | ||
var p3 = board.create('glider', [3, -2, l1], {name:'p_3'}); | var p3 = board.create('glider', [3, -2, l1], {name:'p_3'}); | ||
*/ | |||
</jsxgraph> | </jsxgraph> | ||