Hyperbola III: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 12: | Line 12: | ||
var p = board.create('point', [2, Math.sqrt(2)], {name:"p"}); //-0.9428 | var p = board.create('point', [2, Math.sqrt(2)], {name:"p"}); //-0.9428 | ||
var phi = board.create('transform', [ | var phi = board.create('transform', [Math.PI * 0.25], {type: 'rotate'}); | ||
var t = board.create('transform', [-2, 1], {type: 'translate'}); | var t = board.create('transform', [-2, 1], {type: 'translate'}); | ||
phi.applyOnce([f1, f2, p]); | |||
t.applyOnce([f1, f2, p]); | t.applyOnce([f1, f2, p]); | ||