Difference between revisions of "Trace curve"

From JSXGraph Wiki
Jump to navigationJump to search
Line 11: Line 11:
 
var M1 = brd.create('midpoint', [A, B]);
 
var M1 = brd.create('midpoint', [A, B]);
 
var M2 = brd.create('midpoint', [A, C]);
 
var M2 = brd.create('midpoint', [A, C]);
var s1 = brd.create('midpoint', [C, M1]);
+
var s1 = brd.create('line', [C, M1]);
var s2 = brd.create('midpoint', [B, M2]);
+
var s2 = brd.create('line', [B, M2]);
  
var s = brd.create('midpoint', [s1, s2]);
+
var s = brd.create('intersection', [s1, s2]);
  
 
</jsxgraph>
 
</jsxgraph>
  
 
[[Category:Examples]]
 
[[Category:Examples]]

Revision as of 13:52, 22 June 2012