Python_2  1.0
Classes | Namespaces | Functions | Variables
_08a_pack_circles.py File Reference

Classes

class  _08a_pack_circles.Timer
 

Namespaces

 _08a_pack_circles
 Packing circles is a method for filling a rectangle with non-intersecting circles of different sizes.
 

Functions

def _08a_pack_circles.randomPoint (xmax, ymax)
 
def _08a_pack_circles.randomRadius (x, y, xmax, ymax, rmin, rmax)
 
def _08a_pack_circles.distance2Circles (p, l)
 
def _08a_pack_circles.draw ()
 
def _08a_pack_circles.animation (p)
 
def _08a_pack_circles.main ()
 

Variables

int _08a_pack_circles.wsize = 1000
 Canvas size. More...
 
 _08a_pack_circles.task = None
 Drawing process. More...
 
list _08a_pack_circles.circles = []
 List of circles given as tuples (x,y,r). More...