Difference between revisions of "Pappus's hexagon theorem"

From JSXGraph Wiki
Jump to navigationJump to search
Line 21: Line 21:
  
 
var par1 = board.create('parallel', [s3, p3], {visible: false});
 
var par1 = board.create('parallel', [s3, p3], {visible: false});
var p1s = board.create('intersection', [par1, l2], {name:"p_1'"});
+
var p1s = board.create('intersection', [par1, l2], {name:"p_1'", color: 'black'});
 
var s1 = board.create('segment', [p3, p1s], {color: 'black'});
 
var s1 = board.create('segment', [p3, p1s], {color: 'black'});
  
 
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", color: 'black'});
 
var s4 = board.create('segment', [p2, p1s], {color: 'black'});
 
var s4 = board.create('segment', [p2, p1s], {color: 'black'});
  

Revision as of 20:56, 2 May 2021


The underlying JavaScript code