def __init__(self, x=[0, 0.5, -0.5], y=[3**0.5 / 2, 0, 0], args={}): Fractal.__init__(self, x, y) default_vars = { "times": 100000, "divader": 2, "color": "#000000", "value": 10 } self.variables = self.Define_Vars(args, default_vars) self.property_x, self.property_y = [], []
def __init__(self, args = {}): default_vars = {"times": 10, "size": 1, "angle": 15, "z": 0, "zimp": 0, "w": 0, "wimp": 0, "value": 10, "color": "#000000"} self.variables = self.Define_Vars(args, default_vars) Fractal.__init__(self, [[0], [0]], [[0], [self.variables["size"]]]) self.variables["theta"] = (self.variables["angle"] * math.pi) / 180 self.variables["angle"] = [self.variables["theta"], -self.variables["theta"]] self.variables["z"] = 1 - self.variables["z"] / 100 + self.variables["z"] / 50 self.variables["w"] = 1 - self.variables["w"] / 100 + self.variables["w"] / 50 self.new_xx, self.new_yy = [], [] self.property_x, self.property_y = [], []
def __init__(self, args={}): Fractal.__init__(self, [], []) default_vars = { "depth": 1000, "real_numbers": 2, "imaginary_numbers": 2, "density": 200, "amount_of_colors": 12, "value": 10 } self.variables = self.Define_Vars(args, default_vars)
def __init__(self, args={}): Fractal.__init__(self, [], []) default_vars = { "color": "#000000", "depth": 500, "initiator": 0, "resolution": 40, "limit": 2, "reach": 50 } self.variables = self.Define_Vars(args, default_vars)
def __init__(self, args={}): default_vars = { "times": 5, "amount_of_sides": 3, "size": 1, "color": "#000000", "value": 10 } self.variables = self.Define_Vars(args, default_vars) Fractal.__init__(self, [0, self.variables["size"]], [0, 0]) self.property_x, self.property_y = [], []
def __init__(self, args={}): default_vars = { "times": 10, "scale": 1, "color": "#000000", "value": 10 } self.variables = self.Define_Vars(args, default_vars) Fractal.__init__(self, [[0, self.variables["scale"]]], [[0, 0]]) self.iteration_number = 0 self.property_x, self.property_y = [], [] self.passing = self.variables["scale"] / self.variables["value"]
def __init__(self, w=512, h=512, real_bounds=(-2.0, 1.0), imag_bounds=(-1.5, 1.5), iterations=512): Fractal.__init__(self, w, h) self.rb = real_bounds self.ib = imag_bounds self.threshold = abs( max(real_bounds + imag_bounds, key=lambda x: abs(x))) self.iterations = iterations
def __init__(self, args={}): default_vars = { "times": 5, "scale": 1, "color": "#000000", "value": 10 } self.variables = self.Define_Vars(args, default_vars) x = [0, 0, self.variables["scale"], self.variables["scale"]] y = [self.variables["scale"], 0, 0, self.variables["scale"]] Fractal.__init__(self, x, y) self.iteration_number = 0 self.property_x, self.property_y = [], []
def __init__(self, x=[[0, 1]], y=[[0, 0]], args={}): Fractal.__init__(self, x, y) default_vars = {"times": 8, "color": "#000000", "value": 10} self.variables = self.Define_Vars(args, default_vars) self.property_x, self.property_y = [], []
def __init__(self, x=[], y=[], args={}): Fractal.__init__(self, x, y) self.Create_Vars(args)
def __init__(self, args = {}): Fractal.__init__(self, [], []) default_vars = {"end": 18, "color": "#000000", "value": 10} self.variables = self.Define_Vars(args, default_vars) self.initiator = 0 self.property_x, self.property_y = [], []