Hyperbola III: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 13: Line 13:
var p  = board.create('point', [2, Math.sqrt(2)], {name:"p", fixed: true});
var p  = board.create('point', [2, Math.sqrt(2)], {name:"p", fixed: true});


var o = board.create('point', [0, 0], {withLabel:false, color: 'blue'});
var o = board.create('point', [0, 0], {withLabel:false, color: 'blue', fixed: true});
var e1 = board.create('point', [1, 0], {withLabel:false, color: 'blue'});
var e1 = board.create('point', [1, 0], {withLabel:false, color: 'blue', fixed: true});
var e2 = board.create('point', [0, 1], {withLabel:false, color: 'blue'});
var e2 = board.create('point', [0, 1], {withLabel:false, color: 'blue', fixed: true});


var phi0 = board.create('transform', [-Math.PI * 0.25], {type: 'rotate'});
var phi0 = board.create('transform', [-Math.PI * 0.25], {type: 'rotate'});

Revision as of 15:13, 6 July 2021

The underlying JavaScript code