Difference between revisions of "Pappus's hexagon theorem"

From JSXGraph Wiki
Jump to navigationJump to search
Line 5: Line 5:
 
var board = JXG.JSXGraph.initBoard("jxgbox", {boundingbox: [-5,5,5,-5], showCopyright:false, showNavigation:false});
 
var board = JXG.JSXGraph.initBoard("jxgbox", {boundingbox: [-5,5,5,-5], showCopyright:false, showNavigation:false});
  
var p = board.create('point', [-4, -2], {name:'p'});
+
var q = board.create('point', [-4, -2], {name:'q'});
var q1 = board.create('point', [0, -2], {name:'q_1'});
+
var q1 = board.create('point', [0, -2], {name:''});
var q2 = board.create('point', [-1.5, -1], {name:'q_2'});
+
var q2 = board.create('point', [-1.5, -1], {name:''});
var l1 = board.create('line', [p, q1], {straightFirst: false});
+
var l1 = board.create('line', [q, q1], {straightFirst: false});
var l2 = board.create('line', [p, q2], {straightFirst: false});
+
var l2 = board.create('line', [q, q2], {straightFirst: false});
 
</jsxgraph>
 
</jsxgraph>
  

Revision as of 20:39, 2 May 2021


The underlying JavaScript code