Difference between revisions of "Desargues's theorem"

From JSXGraph Wiki
Jump to navigationJump to search
Line 18: Line 18:
 
var p3 = board.create('glider', [-0.5, 0, l3], {name:'p_3'});
 
var p3 = board.create('glider', [-0.5, 0, l3], {name:'p_3'});
  
 +
var q1 = board.create('glider', [1.5, -2, l1], {name:'q_1'});
  
var q1 = board.create('glider', [1.5, -2, l1], {name:'q_1'});
+
var s1 = board.create('segment', [p1, p2], {color: 'black'});
 +
var s2 = board.create('segment', [p1, p3], {color: 'black'});
 +
var s3 = board.create('segment', [p2, p3], {color: 'red'});
  
 
</jsxgraph>
 
</jsxgraph>

Revision as of 21:09, 2 May 2021

The underlying JavaScript code