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'}); | ||
Line 17: | Line 14: | ||
var k2 = brd.create('circle',[M,B],{name:'k'}); | var k2 = brd.create('circle',[M,B],{name:'k'}); | ||
var | var gpar = brd.create('parallel',[O,C,M], {name:"g", strokeColor:'lightgray'}); | ||
var Cprime = brd.create('intersection',[gpar,k2,0], {name:"C'", fillColor:'blue', strokeColor:'blue'}); | |||
var g2 = brd.create('line',[M,Cprime], {strokeColor:'lightgray'}); | var g2 = brd.create('line',[M,Cprime], {strokeColor:'lightgray'}); |