Two reflections I (parallel lines): Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 8: Line 8:
       t = board.create('parallel',[s,C], {name:'t', withLabel:true}),
       t = board.create('parallel',[s,C], {name:'t', withLabel:true}),


       P1 = board.create('point', [0,-3], {name:'P_1'}),
       P1 = board.create('point', [0,-3], {name:'P_1', color:'blue'}),
       Ss = board.create('transform', [s], {type:'reflect'}),
       Ss = board.create('transform', [s], {type:'reflect'}),
       St = board.create('transform', [t], {type:'reflect'}),
       St = board.create('transform', [t], {type:'reflect'}),
       P2 = board.create('point', [P1, Ss], {name:'P_2'}),
       P2 = board.create('point', [P1, Ss], {name:'P_2', color:'green'}),
       P3 = board.create('point', [P2, St], {name:'P_3'});
       P3 = board.create('point', [P2, St], {name:'P_3', color:'green'});
})();
})();
</jsxgraph>
</jsxgraph>

Revision as of 12:12, 29 November 2011

The JavaScript code