Apollonian circle packing: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
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 21:06, 27 April 2009

References