Difference between revisions of "Reflect images"

From JSXGraph Wiki
Jump to navigationJump to search
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 12:55, 29 July 2011

The JavaScript code

Here is the complete code to accomplish this behaviour.