Reflect images: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 13: Line 13:
   p1 = brd.createElement('point', [2,1]);  
   p1 = brd.createElement('point', [2,1]);  
   p2 = brd.createElement('point', [0,3]);  
   p2 = brd.createElement('point', [0,3]);  
   p3 = brd.createElement('point', [2,-2]);  
   p3 = brd.createElement('point', [10,-1]);  


   l1 = brd.createElement('line', [p0, p1]);  
   l1 = brd.createElement('line', [p0, p1]);  

Revision as of 11:55, 29 July 2011

The JavaScript code

Here is the complete code to accomplish this behaviour.