Difference between revisions of "Pappus's hexagon theorem"

From JSXGraph Wiki
Jump to navigationJump to search
Line 18: Line 18:
 
var p2s = board.create('glider', [1, 1, l2], {name:"p_2'"});
 
var p2s = board.create('glider', [1, 1, l2], {name:"p_2'"});
  
var s3 = board.create('segment', [p1, p3s], {color: 'black'});
+
var s3 = board.create('line', [p1, p3s], {color: 'black', straightFirst: false, straightLast: false});
var s2 = board.create('segment', [p1, p2s], {color: 'black'});
+
var s2 = board.create('line', [p1, p2s], {color: 'black', straightFirst: false, straightLast: false});
  
 
var par1 = board.create('parallel', [s3, p3], {visible: false});
 
var par1 = board.create('parallel', [s3, p3], {visible: false});

Revision as of 21:49, 2 May 2021


The underlying JavaScript code