Difference between revisions of "Spirograph - geometric construction"

From JSXGraph Wiki
Jump to navigationJump to search
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 16:42, 19 July 2010