Pappus's hexagon theorem: Difference between revisions

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


The underlying JavaScript code