Spirograph - geometric construction: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 2: Line 2:
var brd = JXG.JSXGraph.initBoard('jxgbox',{boundingbox:[-5,5,5,-5], keepaspectratio:true});
var brd = JXG.JSXGraph.initBoard('jxgbox',{boundingbox:[-5,5,5,-5], keepaspectratio:true});


var O = brd.create('point',[0,0],[name:'O',fixed:true});
var O = brd.create('point',[0,0],{name:'O',fixed:true});
var A = brd.create('point',[2,0],[name:'A',fixed:true});
var A = brd.create('point',[2,0],{name:'A',fixed:true});
var k = brd.create('circle',[O,A],[name:'k'});
var k = brd.create('circle',[O,A],{name:'k'});
</jsxgraph>
</jsxgraph>



Revision as of 15:42, 19 July 2010