Poincare disc model: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 8: | Line 8: | ||
var arc = brd.create('arc',[p,s1,s2]); | var arc = brd.create('arc',[p,s1,s2]); | ||
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], {name:'polar', withLabel:true, strokeColor:'gray', dash:2}); | ||
var l = brd.create('line', [[0,0],pp], {name:'', withLabel:false, strokeColor:'gray', dash:2}); | var l = brd.create('line', [[0,0],pp], {name:'', withLabel:false, strokeColor:'gray', dash:2}); | ||
var A = brd.create('intersection', [l,t,0], {name:"A", withLabel:true, | var A = brd.create('intersection', [l,t,0], {name:"A", withLabel:true,visible:false}); | ||
var M = brd.create('midpoint',[pp,A]); | var M = brd.create('midpoint',[pp,A]); | ||
var p0 = brd.create('perpendicularpoint',[l,M]); | var p0 = brd.create('perpendicularpoint',[l,M]); | ||
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}); | ||
/* | /* | ||