Difference between revisions of "Rolling circle on circle"
From JSXGraph Wiki
Jump to navigationJump to searchA WASSERMANN (talk | contribs) |
A WASSERMANN (talk | contribs) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
<html> | <html> | ||
− | |||
− | |||
<form> | <form> | ||
<input type="button" value="start" onclick="rol.start()"> | <input type="button" value="start" onclick="rol.start()"> | ||
Line 34: | Line 31: | ||
// 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 = | + | var rol = brd.createRoulette(bigCircle, circle, 0, Math.PI/45, -1, 150, [C,P,B]); |
</jsxgraph> | </jsxgraph> |
Latest revision as of 19:19, 23 November 2010