# Difference between revisions of "Circles on circles"

From JSXGraph Wiki

Jump to navigationJump to searchA WASSERMANN (talk | contribs) |
A WASSERMANN (talk | contribs) |
||

Line 64: | Line 64: | ||

alert($("#sliderc1").slider("value")); | alert($("#sliderc1").slider("value")); | ||

var c = board.createElement('curve', [ | var c = board.createElement('curve', [ | ||

− | function(t) { return Math.cos(t)+ 0.5*Math.cos( | + | function(t) { return Math.cos(t)+ 0.5*Math.cos($("#sliderf1").slider("value")*t);}, |

function(t) { return Math.sin(t)+ 0.5*Math.sin(3*t);}, | function(t) { return Math.sin(t)+ 0.5*Math.sin(3*t);}, | ||

0,4*Math.PI]); | 0,4*Math.PI]); |

## Revision as of 12:01, 29 June 2009