Difference between revisions of "Reflect images"

From JSXGraph Wiki
Jump to navigationJump to search
Line 15: Line 15:
  
 
   l1 = brd.createElement('line', [p0, p1]);  
 
   l1 = brd.createElement('line', [p0, p1]);  
   l2 = brd.createElement('line', [p0, p2]);  
+
   l2 = brd.createElement('line', [p1, p2]);  
  
 
   p4 = brd.createElement('point', [-2,-2]);  
 
   p4 = brd.createElement('point', [-2,-2]);  

Revision as of 13:57, 29 July 2011

The JavaScript code

Here is the complete code to accomplish this behaviour.