Spirograph - geometric construction: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 21: | Line 21: | ||
</jsxgraph> | </jsxgraph> | ||
=== Threefold speed === | |||
<jsxgraph width="600" height="600" box="jxgbox2"> | <jsxgraph width="600" height="600" box="jxgbox2"> | ||
(function() { | (function() { | ||
Line 31: | Line 32: | ||
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 g1a = brd.create('line',[O,C], {strokeColor:'lightgray'}); | |||
var C2 = brd.create('reflection',[g2,B],{name:'C_2', fillColor:'blue', strokeColor:'blue'}); | |||
var M = brd.create('glider',[2,2,g1], {name:'M', fillColor:'red', strokeColor:'red'}); | var M = brd.create('glider',[2,2,g1], {name:'M', fillColor:'red', strokeColor:'red'}); | ||
var k2 = brd.create('circle',[M,B],{name:'k'}); | var k2 = brd.create('circle',[M,B],{name:'k'}); | ||
var gpar = brd.create('parallel',[O, | var gpar = brd.create('parallel',[O,C2,M], {name:"g", strokeColor:'lightgray'}); | ||
var Cprime = brd.create('intersection',[gpar,k2,0], {name:"C'", fillColor:'blue', strokeColor:'blue'}); | var Cprime = brd.create('intersection',[gpar,k2,0], {name:"C'", fillColor:'blue', strokeColor:'blue'}); | ||