Difference between revisions of "Trace curve"

From JSXGraph Wiki
Jump to navigationJump to search
Line 12: Line 12:
 
var M2 = brd.create('midpoint', [A, C], {withLabel:false});
 
var M2 = brd.create('midpoint', [A, C], {withLabel:false});
 
var M3 = brd.create('midpoint', [B, C], {withLabel:false});
 
var M3 = brd.create('midpoint', [B, C], {withLabel:false});
var s1 = brd.create('perpendicular', [[A,B], M1]);
+
var s1 = brd.create('perpendicular', [g, M1]);
 
var s2 = brd.create('line', [B, M2]);
 
var s2 = brd.create('line', [B, M2]);
 
var s3 = brd.create('line', [A, M3]);
 
var s3 = brd.create('line', [A, M3]);

Revision as of 12:56, 22 June 2012