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 r = board.create('point', [-4, -2], {name:' | var r = board.create('point', [-4, -2], {name:'r'}); | ||
var r1 = board.create('point', [-1.5, -2.5], {name:'', color: 'blue'}); | var r1 = board.create('point', [-1.5, -2.5], {name:'', color: 'blue'}); | ||
var r2 = board.create('point', [-1.5, -1.7], {name:'', color: 'blue'}); | var r2 = board.create('point', [-1.5, -1.7], {name:'', color: 'blue'}); | ||
Line 24: | Line 24: | ||
var s3 = board.create('segment', [p2, p3], {color: 'red'}); | var s3 = board.create('segment', [p2, p3], {color: 'red'}); | ||
var par1 = board.create('parallel', [s1, | var par1 = board.create('parallel', [s1, q1], {color: 'black'}); | ||
var par2 = board.create('parallel', [s2, | var par2 = board.create('parallel', [s2, q1], {color: 'black'}); | ||