Difference between revisions of "Circles on circles"

From JSXGraph Wiki
Jump to navigationJump to search
Line 70: Line 70:
 
var f2 = 17;
 
var f2 = 17;
 
var c = board.createElement('curve', [
 
var c = board.createElement('curve', [
               function(t) { return Math.cos(t)+ 0.5*Math.cos(t);},
+
               function(t) { return Math.cos(t)+ c1*Math.cos(f1*t);},
               function(t) { return Math.sin(t)+ 0.5*Math.sin(3*t);},
+
               function(t) { return Math.sin(t)+ c1*Math.sin(f1*t);},
 
               0,4*Math.PI]);
 
               0,4*Math.PI]);
  

Revision as of 13:05, 29 June 2009