Difference between revisions of "Barycenter"

From JSXGraph Wiki
Jump to navigationJump to search
Line 10: Line 10:
  
 
var l1 = board.create('line', [p0s, p1s], {lastArrow: true, color: 'orange'});
 
var l1 = board.create('line', [p0s, p1s], {lastArrow: true, color: 'orange'});
var l1 = 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 v2 = board.create('line', [p0s, p2s], {color: 'orange', strokeWidth: 1});
 +
 
  
 
</jsxgraph>
 
</jsxgraph>

Revision as of 20:40, 9 May 2021


The underlying JavaScript code