Difference between revisions of "Orthogonal axis affinity"

From JSXGraph Wiki
Jump to navigationJump to search
Line 7: Line 7:
  
 
var k0 = board.create('circle', [[0,0], 4], {fixed: true, strokeWidth: 0.8});
 
var k0 = board.create('circle', [[0,0], 4], {fixed: true, strokeWidth: 0.8});
 +
var O = board.create('point', [0,0], {name: 'O', fixed: true});
 
var B = board.create('glider', [2.8, 3, k0], {name: 'B'});
 
var B = board.create('glider', [2.8, 3, k0], {name: 'B'});
 +
var li = board.create('line', [O, B], {straightFirst: false});
 
</jsxgraph>
 
</jsxgraph>
  

Revision as of 19:55, 27 June 2021

The underlying JavaScript code