Difference between revisions of "Spirograph - geometric construction"

From JSXGraph Wiki
Jump to navigationJump to search
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'}); // Winkel-Verdreifachung
 
  
  
Line 17: Line 14:
 
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,C], {name:"C'", fillColor:'blue', strokeColor:'blue'});
+
var gpar = brd.create('parallel',[O,C,M], {name:"g", strokeColor:'lightgray'});
//var Cprime = brd.create('parallelpoint',[O,M,C2], {name:"C'", fillColor:'blue', strokeColor:'blue'}); // Winkel-Verdreifachung
+
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'});

Revision as of 18:08, 19 July 2010