# Difference between revisions of "Bearing"

From JSXGraph Wiki

Jump to navigationJump to searchA WASSERMANN (talk | contribs) |
A WASSERMANN (talk | contribs) |
||

Line 2: | Line 2: | ||

var brd = JXG.JSXGraph.initBoard('jxgbox',{axis:true,boundingbox:[-2,1.5,2,-1.5],keepaspectratio:true}); | var brd = JXG.JSXGraph.initBoard('jxgbox',{axis:true,boundingbox:[-2,1.5,2,-1.5],keepaspectratio:true}); | ||

var c = brd.create('circle',[[0,0],1]); | var c = brd.create('circle',[[0,0],1]); | ||

− | var p = brd.create('glider',[-1,0.5,c]); | + | var p = brd.create('glider',[-1,0.5,c],{name:'drag me'}); |

/* | /* | ||

var eps = brd.create('slider',[[2,7],[6,7],[-6,0.5,6]]); brd.createElement('text',[1,7,'ε:']); | var eps = brd.create('slider',[[2,7],[6,7],[-6,0.5,6]]); brd.createElement('text',[1,7,'ε:']); |