MengerSponge Namespace Reference

Classes

class  MengerThread
 Multi-threaded ###. More...
 

Functions

def makeMengerSponge (level=3, x0=0, y0=0, z0=0)
 Single-threaded ###. More...
 
def makeMengerSponge_mt (level=3, x0=0, y0=0, z0=0)
 
def PlaceBox (x, y, z)
 
def Sierpinski (level, x0, y0, z0)
 

Variables

 box
 

Function Documentation

def MengerSponge.makeMengerSponge (   level = 3,
  x0 = 0,
  y0 = 0,
  z0 = 0 
)

Single-threaded ###.

References Sierpinski().

def MengerSponge.makeMengerSponge_mt (   level = 3,
  x0 = 0,
  y0 = 0,
  z0 = 0 
)
Is much slower than makeMengerSponge!!! :(

References Sierpinski().

def MengerSponge.PlaceBox (   x,
  y,
  z 
)

Referenced by Sierpinski().

def MengerSponge.Sierpinski (   level,
  x0,
  y0,
  z0 
)

Variable Documentation

MengerSponge.box