I was also wondering if it would be possible to take that music created by the fractal and then have Max analyze the tones (pitch) and have it feed back into the fractal generating the color scheme. I don’t know if that would be wise though, having the output feed back into the fractal which is generating the output.

I’ve tried to find any work that others may have done similar to this in creating the Mandelbrot set through Max and the only patch I found was located here:

http://www.geocities.com/snottywong_1999/maxmsp/mandelbrot_generator.sit

but when I attempted to open it I just got a bunch of arbitrary symbols rather then text I could put into Max.

Can anyone point me in the direction of creating something with Max that will allow me to generate the mandelbrot set?

]]>i just opened that link up on a mac no probs… if ur on pc, u will need something that can uncompress .sit files.

FYI, the patch is in max 4 format…

j

]]>thanks

]]>Geocities is now no more. [edit: free hosting at Geocities, that is]

this might be of interest:

//Mandelbrot Set js for jsui in Max

// adapted from Mandelbrot.java Applet from The Nonlinear Workbook (Steeb 2005) pp.238

// by sdf 2007

function Mandelbrot()

{

var w = 256;

var h = 256;

var index = 0;

var iter = 0;

var count = 0;

for (y = 0; y < h; y++)

{

b = (y-128)/64.0;

for (x=0; x < w; x++)

{

a = (x-128)/64.0;

p = q = 0.0;

iter = 0;

while (iter < 32)

{

psq = p*p;

qsq = q*q;

if (psq + qsq >= 4.0) break;

pnew = psq – qsq + a;

qnew = 2.0 * p * q + b;

p = pnew;

q = qnew;

iter++;

}

if (iter == 32) sketch.setpixel(x, y, 0, 0, 0);

index++;

}

}

refresh();

}

[attachment=125284,98]

]]>i’m new on this of using JS with max … of the code to generate the mandel,

what is psp and qsq?

i dont understan how many inlets and outlets to put and wich variables use in the inlets.

in resume i dont know what i hav to do to see the fractal . i hope i explain it good enough.

thx

]]>