Difference between revisions of "Poincare disc model"

From JSXGraph Wiki
Jump to navigationJump to search
Line 9: Line 9:
  
 
var pp = brd.create('point',[1,2],{withLabel:false});
 
var pp = 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], {visible:false});  
var l = brd.create('line', [[0,0],pp], {name:'', withLabel:false, strokeColor:'gray', dash:2});  
+
var l = brd.create('line', [[0,0],pp], {visible:false});  
var A = brd.create('intersection', [l,t,0], {name:"A", withLabel:true,visible:false});
+
var A = brd.create('intersection', [l,t,0], {withLabel:true,visible:false});
var M = brd.create('midpoint',[pp,A]);
+
var M = brd.create('midpoint',[pp,A], {withLabel:true,visible:false});
var p0 = brd.create('perpendicularpoint',[l,M]);
+
var p0 = brd.create('perpendicularpoint',[l,M], {withLabel:true,visible:false});
 
var line = brd.create('line', [p0,M], {name:'', withLabel:false, strokeColor:'gray', dash:2});  
 
var line = brd.create('line', [p0,M], {name:'', withLabel:false, strokeColor:'gray', dash:2});  
  

Revision as of 17:36, 21 July 2010