Poincare disc model: Difference between revisions

From JSXGraph Wiki
No edit summary
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 pp = brd.create('point',[-4,4],{name:'drag me',trace:true});
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});  

Revision as of 14:35, 21 July 2010