Rolling circle on cosine: Difference between revisions

From JSXGraph Wiki
(New page: <jsxgraph width="0" height="0" box="nix"></jsxgraph> <html> <script type="text/javascript" src="/~alfred/jsxgraph/trunk/src/Roulette.js"></script> <form> <input type="button" value="start"...)
 
No edit summary
Line 16: Line 16:


// Circle
// Circle
var P = brd.create('point',[0,1],{name:'P', trace:true});
var P = brd.create('point',[0,0.5],{name:'P', trace:true});
var C = brd.create('point',[0,2],{name:'C'});
var C = brd.create('point',[0,1.5],{name:'C'});
var circle = brd.create('curve',[
var circle = brd.create('curve',[
                     function(t){var d = P.Dist(C);
                     function(t){var d = P.Dist(C);

Revision as of 15:23, 2 October 2010

The underlying JavaScript code