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.5], {visible: | var C0 = brd.create('point', [1.5, 1.5], {visible:false}); | ||
var g = brd.create('line', [A,B], {visible: | 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}); | ||
var C = brd.create('glider', [0, 1.5, h], {name:'C'}); | |||
var p = brd.create('polygon', [A, B, C]); | |||
</jsxgraph> | </jsxgraph> | ||
[[Category:Examples]] | [[Category:Examples]] |