Rolling circle on circle: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<jsxgraph width="0" height="0" box="nix"></jsxgraph>
<html>
<html>
<script type="text/javascript" src="/~alfred/jsxgraph/trunk/src/Complex.js"></script>
<script type="text/javascript" src="/~alfred/jsxgraph/trunk/src/Roulette2.js"></script>
<form>
<form>
<input type="button" value="start" onclick="rol.start()">
<input type="button" value="start" onclick="rol.start()">
Line 37: Line 34:
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/45, -1, 150, [C,P,B]);  
var rol = brd.createRoulette(bigCircle, circle, 0, Math.PI/45, -1, 150, [C,P,B]);  


</jsxgraph>
</jsxgraph>

Latest revision as of 17:19, 23 November 2010

The underlying JavaScript code