Polynomial curve of constant width: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) 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, | 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, | 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}); | ||