Two reflections I (parallel lines): Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary  | 
				A WASSERMANN (talk | contribs) No edit summary  | 
				||
| Line 11: | Line 11: | ||
        St = board.create('transform', [t], {type:'reflect'}),  |         St = board.create('transform', [t], {type:'reflect'}),  | ||
        P1 = board.create('point', [0,-3], {name:'P_1', color:'  |         P1 = board.create('point', [0,-3], {name:'P_1', color:'green'}),  | ||
        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'}),  | ||
        Q1 = board.create('point', [4,2], {name:'Q_1', color:'blue'}),  |         Q1 = board.create('point', [4,2], {name:'Q_1', color:'blue'}),  | ||
        Q2 = board.create('point', [Q1, Ss], {name:'Q_2', color:'  |         Q2 = board.create('point', [Q1, Ss], {name:'Q_2', color:'blue'}),  | ||
        Q3 = board.create('point', [Q2, St], {name:'Q_3', color:'  |         Q3 = board.create('point', [Q2, St], {name:'Q_3', color:'blue'}),  | ||
        l1 = board.create('line',[P1,Q1], {color:'black', strokeWidth:1, dash:2}),  |         l1 = board.create('line',[P1,Q1], {color:'black', strokeWidth:1, dash:2}),  | ||
        l2 = board.create('line',[P2,Q2], {color:'black', strokeWidth:1, dash:2}),  |         l2 = board.create('line',[P2,Q2], {color:'black', strokeWidth:1, dash:2}),  | ||
        l3 = board.create('line',[P3,Q3], {color:'black', strokeWidth:1, dash:2})  |         l3 = board.create('line',[P3,Q3], {color:'black', strokeWidth:1, dash:2}),  | ||
       g1 = board.create('line',[P1,P2], {color:'yellow', strokeWidth:1, dash:3}),  | |||
       g2 = board.create('line',[P2,P3], {color:'yellow', strokeWidth:1, dash:3}),  | |||
       h1 = board.create('line',[Q1,Q2], {color:'yellow', strokeWidth:1, dash:3}),  | |||
       h2 = board.create('line',[Q2,Q3], {color:'yellow', strokeWidth:1, dash:3});  | |||
})();  | })();  | ||