Spirograph - geometric construction: Difference between revisions

From JSXGraph Wiki
No edit summary
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 C2 = brd.create('parallelpoint',[O,M,C], {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,C2], {strokeColor:'lightgray'});
var g2 = brd.create('line',[M,Cprime], {strokeColor:'lightgray'});
var C3 = brd.create('glider',[1,1,g2], {name:"C*", fillColor:'blue', strokeColor:'blue',trace:true});
var Cstern = brd.create('glider',[1,1,g2], {name:"C*", fillColor:'blue', strokeColor:'blue',trace:true});


</jsxgraph>
</jsxgraph>

Revision as of 15:59, 19 July 2010