Hyperbola III: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 31: Line 31:
var f = board.create('slider', [[1,3.5], [3,3.5], [0, 0, 1]], {name:'f'});
var f = board.create('slider', [[1,3.5], [3,3.5], [0, 0, 1]], {name:'f'});


/*
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; }, o], {type: 'rotate'});
var t = board.create('transform', [function(){ return -2*f.Value(); }, function(){ return f.Value(); }], {type: 'translate'});
var t = board.create('transform', [function(){ return -2*f.Value(); }, function(){ return f.Value(); }], {type: 'translate'});


t.bindTo([f1, f2, p, e1, e2, o]);
t.bindTo([f1, f2, p, e1, e2, o]);
phi.bindTo([f1, f2, p, e1, e2]);
phi.bindTo([f1, f2, p, e1, e2]);
*/
 
</jsxgraph>
</jsxgraph>



Revision as of 15:33, 6 July 2021

The underlying JavaScript code