Spirograph - geometric construction: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 8: | Line 8: | ||
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'}); | ||
var g3 = brd.create('line',[O,C], {strokeColor:'lightgray'}); | |||
var C2 = brd.create('reflection',[g3,B],{name:'C_2', fillColor:'blue', strokeColor:'blue'}); | |||
var M = brd.create('mirrorpoint',[B,O], {name:'M', fillColor:'blue', strokeColor:'blue'}); | var M = brd.create('mirrorpoint',[B,O], {name:'M', fillColor:'blue', strokeColor:'blue'}); | ||
var k2 = brd.create('circle',[M,B],{name:'k'}); | var k2 = brd.create('circle',[M,B],{name:'k'}); | ||
var | var Cprime = brd.create('parallelpoint',[O,M,C2], {name:"C'", fillColor:'blue', strokeColor:'blue'}); | ||
var g2 = brd.create('line',[M, | var g2 = brd.create('line',[M,Cprime], {strokeColor:'lightgray'}); | ||
var | var Cstern = brd.create('glider',[1,1,g2], {name:"C*", fillColor:'blue', strokeColor:'blue',trace:true}); | ||
</jsxgraph> | </jsxgraph> |