Just playing around with some fractals
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
img
.gitignore
README.md
TODO.md
buddhabrot.py
fractal.py
julia.py
mandelbrot.py
namer.py
nebulabrot.py
parameters.md

README.md

Fractals

Playing around with cool fractals

Buddhabrot

buddhabrot

####Quick Usage:

b = Buddhabrot()
b.render()
b.draw(<file_name>)

Note: Because of the non-uniform densities of buddhabrot traces, I had to do some use a clever coloring to get this drawing to show up nicely. If you use the default color function (the same one that colored the mandelbrot and julia images below), you'll end up with something like this: bad buddha

The function I used:

def buddha_color(i):
  r= int(255 * math.atan(float(i)/ 10))
  return (r, r, r)

Mandelbrot

mandelbrot ####Quick Usage:

m = Mandelbrot()
m.render()
m.draw(<file_name>)

Julia

julia ####Quick Usage:

j = Julia()
j.render()
j.draw(<file_name>)