Magnetized points: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) (Created page with "<jsxgraph width="400" height="400" box="box"> snatchDistance:2}); var brd = JXG.JSXGraph.initBoard('box', {axis:false, boundingbox: [-5, 5, 5, -5]}), li = brd.create('line', [...") |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<jsxgraph width="400" height="400" box="box"> | <jsxgraph width="400" height="400" box="box"> | ||
var brd = JXG.JSXGraph.initBoard('box', {axis:false, boundingbox: [-5, 5, 5, -5]}), | var brd = JXG.JSXGraph.initBoard('box', {axis:false, boundingbox: [-5, 5, 5, -5]}), | ||
li = brd.create('line', [1,2,3]), | li = brd.create('line', [1,2,3]), | ||
p = brd.create('point', [0,0], {attractors: [li], attractorDistance:0.2, snatchDistance: | p = brd.create('point', [0,0], {attractors: [li], attractorDistance:0.2, snatchDistance: 2}); | ||