Poincare disc model: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 3: Line 3:
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'});
var pp = brd.create('point',[-4,4],{name:'drag me'});
var p = brd.create('point',[2,2],{withLabel:false});
var p = brd.create('point',[1,2],{withLabel:false});


var t = brd.create('polar', [c,pp], {name:'polar', withLabel:true, strokeColor:'gray', dash:2});  
var t = brd.create('polar', [c,pp], {strokeColor:'gray', dash:2});  
var s1 = brd.create('intersection', [c,t,0], {withLabel:false});  
var s1 = brd.create('intersection', [c,t,0], {withLabel:false});  
var s2 = brd.create('intersection', [c,t,1], {withLabel:false});  
var s2 = brd.create('intersection', [c,t,1], {withLabel:false});  

Revision as of 14:31, 21 July 2010