Pappus's hexagon theorem: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
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 19:56, 2 May 2021


The underlying JavaScript code