Difference between revisions of "Barycenter"

From JSXGraph Wiki
Jump to navigationJump to search
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});
+
var v1 = board.create('arrow', [p0s, p1s], {color: 'black', strokeWidth: 1, layer: 8});
var v2 = board.create('arrow', [p0s, p2s], {color: 'orange', strokeWidth: 1});
+
var v2 = board.create('arrow', [p0s, p2s], {color: 'orange', strokeWidth: 1, layer: 8});
  
  

Revision as of 21:41, 9 May 2021


The underlying JavaScript code