Rolling circle on circle: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 34: | Line 34: | ||
// Point on circle | // Point on circle | ||
var B = brd.create('glider',[0,2,circle],{name:'B', color:'blue',trace: | var B = brd.create('glider',[0,2,circle],{name:'B', color:'blue',trace:false}); | ||
brd.create('segment',[C,B],{color:'black'}); | brd.create('segment',[C,B],{color:'black'}); | ||
brd.unsuspendUpdate(); | brd.unsuspendUpdate(); | ||
var rol = JXG.Math.Numerics.createRoulette(bigCircle, circle, 0, Math.PI/18, -1, | var rol = JXG.Math.Numerics.createRoulette(bigCircle, circle, 0, Math.PI/18, -1, 150, [C,P,B]); | ||
</jsxgraph> | </jsxgraph> |