Poincare disc model: 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:[-5,5,5,-5]}); | var brd = JXG.JSXGraph.initBoard('jxgbox',{boundingbox:[-5,5,5,-5]}); | ||
var c = brd.create('circle',[[0,0],3],{strokeColor:'black'}); | var c = brd.create('circle',[[0,0],3],{strokeColor:'black'}); | ||
var p = brd.create('point',[1,2],{withLabel:false}); | var p = brd.create('point',[1,2],{withLabel:false}); | ||
var line = brd.create('polar', [c,p], {strokeColor:'gray', dash:2}); | |||
var pp = brd.create('glider',[-4,4,line],{name:'drag me',trace:true}); | |||
var t = brd.create('polar', [c,pp], {strokeColor:'gray', dash:2}); | var t = brd.create('polar', [c,pp], {strokeColor:'gray', dash:2}); |