Rolling circle on cosine: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 14: Line 14:
// Line
// Line
var line = brd.create('curve', [function(t) { return t;}, function(t){ return 0.5*Math.cos(t);}],  
var line = brd.create('curve', [function(t) { return t;}, function(t){ return 0.5*Math.cos(t);}],  
{strokeWidth:6, color:'green'});
{strokeWidth:6, strokeColor:'green'});


// Circle
// Circle

Revision as of 15:25, 2 October 2010

The underlying JavaScript code