Difference between revisions of "Poincare disc model"

From JSXGraph Wiki
Jump to navigationJump to search
Line 13: Line 13:
 
var A = brd.create('intersection', [l,t,0], {withLabel:true,visible:false});
 
var A = brd.create('intersection', [l,t,0], {withLabel:true,visible:false});
 
var M = brd.create('midpoint',[pp,A], {withLabel:true,visible:false});
 
var M = brd.create('midpoint',[pp,A], {withLabel:true,visible:false});
var p0 = brd.create('perpendicularpoint',[l,M], {withLabel:true,visible:false});
+
//var p0 = brd.create('perpendicularpoint',[l,M], {withLabel:true,visible:false});
var line = brd.create('line', [p0,M], {name:'', withLabel:false, strokeColor:'gray', dash:1});  
+
//var line = brd.create('line', [p0,M], {name:'', withLabel:false, strokeColor:'gray', dash:1});  
 
+
var line = brd.create('perpendicular',[l,M], {name:'', withLabel:false, strokeColor:'gray', dash:1, straightFirst:true, straightLast:true});
  
 
var x = brd.create('glider',[3,3,line], {name:'drag me'});
 
var x = brd.create('glider',[3,3,line], {name:'drag me'});

Revision as of 09:32, 22 July 2010

References

  • Chaim Goodman-Strauss, "Compass and Straightedge in the Poincare Disk", Am. Math. Monthly 108 (2001), 38-49.