Apollonian circle packing: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) 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 | 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;}; | ||