Barycenter: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 11: Line 11:
var l1 = board.create('line', [p0s, p1s], {lastArrow: true, color: 'orange'});
var l1 = board.create('line', [p0s, p1s], {lastArrow: true, color: 'orange'});
var l2 = board.create('line', [p0s, p2s], {lastArrow: true, color: 'orange'});
var l2 = board.create('line', [p0s, p2s], {lastArrow: true, color: 'orange'});
var v1 = board.create('arrow', [p0s, p1s], {color: 'black', strokeWidth: 1, layer: 8});
var v1 = board.create('arrow', [p0s, p1s], {color: 'black', strokeWidth: 1, layer: 10});
var v2 = board.create('arrow', [p0s, p2s], {color: 'orange', strokeWidth: 1, layer: 8});
var v2 = board.create('arrow', [p0s, p2s], {color: 'orange', strokeWidth: 1, layer: 10});





Revision as of 19:42, 9 May 2021


The underlying JavaScript code