Difference between revisions of "Apollonian circle packing"

From JSXGraph Wiki
Jump to navigationJump to search
Line 144: Line 144:
 
     }
 
     }
 
     p = brd.createElement('point',[fx,fy],{name:'',visible:false});
 
     p = brd.createElement('point',[fx,fy],{name:'',visible:false});
     c = brd.createElement('circle',[p,fr],{strokeWidth:1,fillColor:HSV2RGB(360*1/(level+1),0.7,0.8),fillOpacity:0.5});
+
     c = brd.createElement('circle',[p,fr],{strokeWidth:1,fillColor:HSV2RGB(360/(level),0.8,0.8),fillOpacity:0.5});
 
     c.curvature = function(){ return 1/this.radius;};
 
     c.curvature = function(){ return 1/this.radius;};
 
      
 
      

Revision as of 23:06, 27 April 2009

References