Rolling circle on cosine: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 16: Line 16:


// Circle
// Circle
var P = brd.create('point',[0,0.5],{name:'P', trace:true});
var P = brd.create('point',[0,0.5],{name:'P', trace:false});
var C = brd.create('point',[0,1.5],{name:'C'});
var C = brd.create('point',[0,1.5],{name:'C'});
var circle = brd.create('curve',[
var circle = brd.create('curve',[
Line 29: Line 29:


// Point on circle
// Point on circle
var B = brd.create('glider',[0,2,circle],{name:'B', color:'blue',trace:false});
var B = brd.create('glider',[0,2,circle],{name:'B', color:'blue',trace:true});
brd.create('segment',[C,B],{color:'black'});  
brd.create('segment',[C,B],{color:'black'});  
brd.unsuspendUpdate();
brd.unsuspendUpdate();

Revision as of 15:24, 2 October 2010

The underlying JavaScript code