FAQ Database Discussion Community


extending mandelbrot to generate julia

fractals,mandelbrot
working on a project requiring me to use same code ,note in the same file to generate mandelbrot set and julia sets ,i hav a working mandelbrot set but can see how to extend to julia set using same code. maybe am not getting the differences between ? can anyone...

Mandelbrot set defined by a specific function

javascript,canvas,pseudocode,fractals,mandelbrot
I'm experimenting with canvas and I'm trying to modify this piece of code, but unfortunately I don't understand some parts of it. My question is - how to customize the above code to be defined for example by f(z) = c^e(-z) (the formula is taken from a book with fractal...

C++ Mandelbrot program won't produce correct output

c++,mandelbrot
I am trying to make a program that generates an image of the standard Mandelbrot set by making a .PPM file. The program doesn't produce a valid PPM file and I have no clue why. Here is my code: #include <fstream> #include <iostream> using namespace std; /* For each pixel...

Mandelbrot fractal smooth coloration with lookup continuous array

fractals,mandelbrot
I know several questions about mandelbrot fractal smooth coloring techniques have already been asked (and answered). However none of them details how to build an array of continuous colors in plain C. I read extensively about smoothing color algorithms and I can calculate a continuous number of iterations through a...

Mandelbrot set won't render correctly

php,math,mandelbrot
I am currently trying to make an animated Mandelbrot set visualisation. But right now it won't even render a single frame correctly. I don't know where I made the mistake. I guess there is an error in the math.Will you please have a look at it? Here is a how...

Drunk Mandelbrot implementation [closed]

c++,fractals,allegro,allegro5,mandelbrot
I wrote a program that is supposed to draw the Mandelbrot fractal. Unfortunately, it seems to be drunk. Here is the output: The relevant function: void drawMandelbrot(float x, float y, float width, float height, float delta) { for (float currentX = -2; currentX < 2; currentX += delta) { for...

Multithreading computation of Mandelbrot set

c++,multithreading,fractals,mandelbrot
I have created a program which creates a Mandelbrot set. Now I'm trying to make it multithreaded. // mandelbrot.cpp // compile with: g++ -std=c++11 mandelbrot.cpp -o mandelbrot // view output with: eog mandelbrot.ppm #include <fstream> #include <complex> // if you make use of complex number facilities in C++ #include <iostream>...