Hyperbola III: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 33: | Line 33: | ||
var phi = board.create('transform', [function(){ return alpha.Value() / Math.PI / 180; }], {type: 'rotate'}); | var phi = board.create('transform', [function(){ return alpha.Value() / Math.PI / 180; }], {type: 'rotate'}); | ||
var t = board.create('transform', [function(){ return f.Value()*2, -f.Value(); }], {type: 'translate'}); | var t = board.create('transform', [function(){ return f.Value()*2, -f.Value(); }], {type: 'translate'}); | ||
phi.apply([f1, f2, p]); | |||
</jsxgraph> | </jsxgraph> |