Two reflections I (parallel lines): Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 1: Line 1:
<jsxgraph width="500" height="500" box="box">
<jsxgraph width="500" height="500" box="box">
//(function () {
(function () {
   var board = JXG.JSXGraph.initBoard('box', {boundingbox: [-5, 5, 5, 5], keepaspectratio:true}),
   var board = JXG.JSXGraph.initBoard('box', {boundingbox: [-5, 5, 5, -5], keepaspectratio:true}),
       A = board.create('point', [-2, -2], {withLabel:false}),
       A = board.create('point', [-2, -2], {withLabel:false}),
       B = board.create('point', [3, -4], {withLabel:false}),
       B = board.create('point', [3, -4], {withLabel:false}),
Line 27: Line 27:
       h1 = board.create('segment',[Q1,Q2], {color:'yellow', strokeWidth:1, dash:3}),
       h1 = board.create('segment',[Q1,Q2], {color:'yellow', strokeWidth:1, dash:3}),
       h2 = board.create('segment',[Q2,Q3], {color:'yellow', strokeWidth:1, dash:3});
       h2 = board.create('segment',[Q2,Q3], {color:'yellow', strokeWidth:1, dash:3});
//})();
})();
</jsxgraph>
</jsxgraph>



Revision as of 18:34, 14 January 2012

The JavaScript code