Desargues's theorem: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
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, q1], { | var par1 = board.create('parallel', [s1, q1], {visible: false}); | ||
var par2 = board.create('parallel', [s2, q1], { | var par2 = board.create('parallel', [s2, q1], {visible: false}); | ||
var q2 = board.create('intersection', [par1, l2], {name:'q_2', color: 'black'}); | var q2 = board.create('intersection', [par1, l2], {name:'q_2', color: 'black'}); | ||
var q3 = board.create('intersection', [par2, l3], {name:'q_3', color: 'black'}); | var q3 = board.create('intersection', [par2, l3], {name:'q_3', color: 'black'}); | ||
var s4 = board.create('segment', [q1, q2], {color: 'black'}); | |||
var s5 = board.create('segment', [q1, q3], {color: 'black'}); | |||
var s6 = board.create('segment', [q2, q3], {color: 'red'}); | |||
</jsxgraph> | </jsxgraph> |