Difference between revisions of "Trace curve"

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

Revision as of 12:51, 22 June 2012