Difference between revisions of "Trace curve"

From JSXGraph Wiki
Jump to navigationJump to search
Line 3: Line 3:
 
var A = brd.create('point', [-1.5, -1.5]);
 
var A = brd.create('point', [-1.5, -1.5]);
 
var B = brd.create('point', [1.5, -1.5]);
 
var B = brd.create('point', [1.5, -1.5]);
 +
var C0 = brd.create('point', [1.5, 1.5], {visible:false});
 
var g = brd.create('line', [A,B], {visible:false});
 
var g = brd.create('line', [A,B], {visible:false});
var h = brd.create('parallel', [g,[0,1.5]], {visible:true});
+
var h = brd.create('parallel', [g, C0], {visible:true});
 
var C = brd.create('glider', [[0, 1.5],h]);
 
var C = brd.create('glider', [[0, 1.5],h]);
  

Revision as of 12:46, 22 June 2012