Spirograph - geometric construction: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
var A = brd.create('point',[1,0],{name:'A'}); | var A = brd.create('point',[1,0],{name:'A'}); | ||
var k = brd.create('circle',[O,A],{name:'k'}); | var k = brd.create('circle',[O,A],{name:'k'}); | ||
var B = brd.create('glider',[0.7,1,k],{name:'B'}); | var B = brd.create('glider',[0.7,1,k],{name:'B drag me'}); | ||
var g1 = brd.create('line',[O,B], {strokeColor:'lightgray'}); | var g1 = brd.create('line',[O,B], {strokeColor:'lightgray'}); | ||
var C = brd.create('reflection',[g1,A],{name:'C', fillColor:'blue', strokeColor:'blue'}); | var C = brd.create('reflection',[g1,A],{name:'C', fillColor:'blue', strokeColor:'blue'}); | ||
Line 16: | Line 16: | ||
var Cprime = brd.create('parallelpoint',[O,M,C2], {name:"C'", fillColor:'blue', strokeColor:'blue'}); | var Cprime = brd.create('parallelpoint',[O,M,C2], {name:"C'", fillColor:'blue', strokeColor:'blue'}); | ||
var g2 = brd.create('line',[M,Cprime], {strokeColor:'lightgray'}); | var g2 = brd.create('line',[M,Cprime], {strokeColor:'lightgray'}); | ||
var Cstern = brd.create('glider',[1,1,g2], {name:"C*" | var Cstern = brd.create('glider',[1,1,g2], {name:"C*", trace:true}); | ||
</jsxgraph> | </jsxgraph> |