Polynomial curve of constant width: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 2: Line 2:
var brd = JXG.JSXGraph.initBoard('jxgbox',{boundingbox:[-2,2,2,-2], keepaspectratio:true});
var brd = JXG.JSXGraph.initBoard('jxgbox',{boundingbox:[-2,2,2,-2], keepaspectratio:true});
brd.suspendUpdate();
brd.suspendUpdate();
var a = brd.create('slider',[[-1,1.8],[1,1.8],[-5,2,5]], {name:'a'});
var a = brd.create('slider',[[-1,1.8],[1,1.8],[-5,0.20,5]], {name:'a'});
var b = brd.create('slider',[[-1,1.6],[1,1.6],[-5,8,10]], {name:'b'});
var b = brd.create('slider',[[-1,1.6],[1,1.6],[-5,1.15,10]], {name:'b'});
var k = brd.create('slider',[[-1,1.4],[1,1.4],[1,3,11]], {name:'k', snapWidth:1});
var k = brd.create('slider',[[-1,1.4],[1,1.4],[1,3,11]], {name:'k', snapWidth:1});



Revision as of 12:58, 6 October 2010