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 g3 = brd.create('line',[O,C], {strokeColor:'lightgray'});
var C2 = brd.create('reflection',[g3,B],{name:'C_2', fillColor:'blue', strokeColor:'blue'});
var C2 = brd.create('reflection',[g3,B],{name:'C_2', fillColor:'blue', strokeColor:'blue'}); // Winkel-Verdreifachung




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

Revision as of 16:02, 19 July 2010