Difference between revisions of "Poincare disc model"

From JSXGraph Wiki
Jump to navigationJump to search
Line 14: Line 14:
 
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 line = brd.create('perpendicular',[l,M], {name:'', withLabel:false, strokeColor:'gray', dash:1, straightFirst:true, straightLast:true});
+
var perp = brd.create('perpendicular',[l,M], {name:'', withLabel:false, strokeColor:'gray', dash:1, straightFirst:true, straightLast:true});
line[1].setProperty({'visible':false});
+
perp.line2.setProperty({'visible':false});
line[0].setProperty({straightFirst:true, straightLast:true});
+
perp.line1.setProperty({straightFirst:true, straightLast:true});
 +
/*
 
var x = brd.create('glider',[3,3,line[0]], {name:'drag me'});
 
var x = brd.create('glider',[3,3,line[0]], {name:'drag me'});
  
Line 23: Line 24:
 
var ss2 = brd.create('intersection', [c,t2,1], {withLabel:false, strokeColor:'green', fillColor:'green'});  
 
var ss2 = brd.create('intersection', [c,t2,1], {withLabel:false, strokeColor:'green', fillColor:'green'});  
 
var arc = brd.create('circumcirclearc',[ss1,pp,ss2], {strokeWidth:1, trace:true, dash:3});
 
var arc = brd.create('circumcirclearc',[ss1,pp,ss2], {strokeWidth:1, trace:true, dash:3});
 +
*/
 
</jsxgraph>
 
</jsxgraph>
  

Revision as of 21:33, 7 July 2011

References

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