Poincare disc model: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) 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 p = brd.create('point',[1,2],{withLabel:false}); | var p = brd.create('point',[1,2],{withLabel:false}); | ||
var pp = brd.create(' | var l = brd.create('line',[[0,0],p],{dash:1}); | ||
var x = brd.create('glider',[3,3,l]); | |||
var l2 = brd.create('perpendicular',[l,x]); | |||
var pp = brd.create('glider',[-4,4,l2],{name:'drag me',trace:true}); | |||
var t2 = brd.create('polar', [c,pp], {strokeColor:'gray', dash:2}); | var t2 = brd.create('polar', [c,pp], {strokeColor:'gray', dash:2}); | ||
var s1 = brd.create('intersection', [c,t2,0], {withLabel:false}); | var s1 = brd.create('intersection', [c,t2,0], {withLabel:false}); |