Difference between revisions of "Pappus's hexagon theorem"

From JSXGraph Wiki
Jump to navigationJump to search
Line 12: Line 12:
  
 
var p1 = board.create('glider', [-1, -2, l1], {name:'p_1'});
 
var p1 = board.create('glider', [-1, -2, l1], {name:'p_1'});
var p2 = board.create('glider', [1, -2, l1], {name:'p_2'});
 
 
var p3 = board.create('glider', [3, -2, l1], {name:'p_3'});
 
var p3 = board.create('glider', [3, -2, l1], {name:'p_3'});
  
Line 27: Line 26:
 
var par2 = board.create('parallel', [s2, p1s], {visible: false});
 
var par2 = board.create('parallel', [s2, p1s], {visible: false});
 
var p2 = board.create('intersection', [par2, l1], {name:"p_2"});
 
var p2 = board.create('intersection', [par2, l1], {name:"p_2"});
 +
var s4 = board.create('segment', [p2, p1s], {color: 'black'});
  
 
</jsxgraph>
 
</jsxgraph>

Revision as of 20:55, 2 May 2021


The underlying JavaScript code