Hyperbola III: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 19: | Line 19: | ||
var phi0 = board.create('transform', [-Math.PI * 0.25], {type: 'rotate'}); | var phi0 = board.create('transform', [-Math.PI * 0.25], {type: 'rotate'}); | ||
var t0 = board.create('transform', [-2, 1], {type: 'translate'}); | var t0 = board.create('transform', [-2, 1], {type: 'translate'}); | ||
phi0.bindTo([f1, f2, p, o, e1, e2]); | |||
t0.bindTo([f1, f2, p, o, e1, e2]); | t0.bindTo([f1, f2, p, o, e1, e2]); | ||
var hyp = board.create('hyperbola', [f1, f2, p]); | var hyp = board.create('hyperbola', [f1, f2, p]); |