Difference between revisions of "Desargues's theorem"

From JSXGraph Wiki
Jump to navigationJump to search
Line 8: Line 8:
 
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'});
var r2 = board.create('point', [-1.5, 0], {name:'', color: 'blue'});
+
var r3 = board.create('point', [-1.5, -0.5], {name:'', color: 'blue'});
/*
 
var l1 = board.create('line', [q, q1], {straightFirst: false});
 
var l2 = board.create('line', [q, q2], {straightFirst: false});
 
  
var p1 = board.create('glider', [-1, -2, l1], {name:'p_1'});
+
var l1 = board.create('line', [r, r1], {straightFirst: false});
 +
var l2 = board.create('line', [r, r2], {straightFirst: false});
 +
var l3 = board.create('line', [r, r3], {straightFirst: false});
 +
 
 +
/*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'});
 
*/
 
*/

Revision as of 21:05, 2 May 2021

The underlying JavaScript code