Difference between revisions of "Orthogonal axis affinity"

From JSXGraph Wiki
Jump to navigationJump to search
Line 8: Line 8:
 
var O = board.create('point', [0,0], {name: 'O', fixed: true});
 
var O = board.create('point', [0,0], {name: 'O', fixed: true});
 
var k0 = board.create('circle', [O, 4], {fixed: true, strokeWidth: 0.8});
 
var k0 = board.create('circle', [O, 4], {fixed: true, strokeWidth: 0.8});
var k1 = board.create('circle', [0, 2], {fixed: true, strokeWidth: 0.8});
+
var k1 = board.create('circle', [O, 2], {fixed: true, strokeWidth: 0.8});
  
 
var B = board.create('glider', [2.65, 3, k0], {name: 'B'});
 
var B = board.create('glider', [2.65, 3, k0], {name: 'B'});

Revision as of 19:57, 27 June 2021

The underlying JavaScript code