Spirograph: 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], kkeepaspectratio:true});
var brd = JXG.JSXGraph.initBoard('jxgbox',{boundingbox:[-5,5,5,-5], kkeepaspectratio:true});
var R = 2.0;
var R = 2.0;
var r = brd.create('slider',[[-3,4],[3,4],[-5,1,5]],{name:'r',snapWidth:0.1});
var r = brd.create('slider',[[-3,4],[3,4],[-5,1,5]],{name:'r',snapWidth:0.3});
var a = brd.create('slider',[[-3,3],[3,3],[-5,1,5]],{name:'a',snapWidth:0.1});
var a = brd.create('slider',[[-3,3],[3,3],[-5,1,5]],{name:'a',snapWidth:0.1});



Revision as of 15:07, 19 July 2010