Two reflections II (intersecting lines): Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 13: Line 13:
       P1 = board.create('point', [0,-3], {name:'P_1', color:'green', size:8}),
       P1 = board.create('point', [0,-3], {name:'P_1', color:'green', size:8}),
       P2 = board.create('point', [P1, Ss], {name:'P_2', color:'green'}),
       P2 = board.create('point', [P1, Ss], {name:'P_2', color:'green'}),
       P3 = board.create('point', [P2, St], {name:'P_3', color:'green'}),
       P3 = board.create('point', [P2, St], {name:'P_3', color:'green', trace:true}),


       Q1 = board.create('point', [1,-4], {name:'Q_1', color:'blue', size:8}),
       Q1 = board.create('point', [1,-4], {name:'Q_1', color:'blue', size:8}),
       Q2 = board.create('point', [Q1, Ss], {name:'Q_2', color:'blue'}),
       Q2 = board.create('point', [Q1, Ss], {name:'Q_2', color:'blue'}),
       Q3 = board.create('point', [Q2, St], {name:'Q_3', color:'blue'}),
       Q3 = board.create('point', [Q2, St], {name:'Q_3', color:'blue', trace:true}),


       l1 = board.create('line',[P1,Q1], {color:'black', strokeWidth:1, dash:2}),
       l1 = board.create('line',[P1,Q1], {color:'black', strokeWidth:1, dash:2}),

Revision as of 12:55, 7 December 2011

The JavaScript code