Rolling circle on cosine: Difference between revisions

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


// Line
// Line
var line = brd.create('curve', [function(t) { return t;}, function(t){ return 0.5*Math.cos(t);}], {strokeWidth:6});
var line = brd.create('curve', [function(t) { return t;}, function(t){ return 0.5*Math.cos(t);}],  
{strokeWidth:6, color:'green'});


// Circle
// Circle

Revision as of 15:24, 2 October 2010

The underlying JavaScript code