Trace curve: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
var A = brd.create('point', [-1.5, -1.5]); | var A = brd.create('point', [-1.5, -1.5]); | ||
var B = brd.create('point', [1.5, -1.5]); | var B = brd.create('point', [1.5, -1.5]); | ||
var C0 = brd.create('point', [1.5, 1. | var C0 = brd.create('point', [1.5, 1.0], {visible:false}); | ||
var g = brd.create('line', [A,B], {visible:false}); | var g = brd.create('line', [A,B], {visible:false}); | ||
var h = brd.create('parallel', [g, C0], {visible:true}); | var h = brd.create('parallel', [g, C0], {visible:true}); | ||
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(' | var s1 = brd.create('perpendicular', [[A,B], 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]); |