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('line', [p0s, p1s], {color: 'black', strokeWidth: 1});
var v1 = board.create('vector', [p0s, p1s], {color: 'black', strokeWidth: 1});
var v2 = board.create('line', [p0s, p2s], {color: 'orange', strokeWidth: 1});
var v2 = board.create('vector', [p0s, p2s], {color: 'orange', strokeWidth: 1});





Revision as of 19:40, 9 May 2021


The underlying JavaScript code