Hyperbola III: Difference between revisions

From JSXGraph Wiki
No edit summary
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', [-Math.PI * 0.25], {type: 'rotate'});
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]);
phi.applyOnce([f1, f2, p]);
t.applyOnce([f1, f2, p]);
t.applyOnce([f1, f2, p]);



Revision as of 12:09, 6 July 2021

The underlying JavaScript code