FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Discussion
   General Processing Discussion
(Moderators: fry, REAS)
   Mandelbrot Fractal Set - processing code?
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Mandelbrot Fractal Set - processing code?  (Read 625 times)
BillionNamesofGod

7188749971887499 WWW
Mandelbrot Fractal Set - processing code?
« on: Aug 10th, 2004, 2:15am »

Hi..
 
I was wondering does anyone have any processing
example of  a mandelbrot set?
 
I've searched the web, and found lot's of java examples...
 
But I just wanted a proper processing example...
 
Sort of thing that would be in the examples I would have thought!..
 
Help!
 
fjen

WWW
Re: Mandelbrot Fractal Set - processing code?
« Reply #1 on: Aug 10th, 2004, 8:20am »

i have one deep down somewhere in my sketchbook ... shame on me.
 
http://www.florianjenett.de/p55/mandel_task.pde
 
i guess processing examples are there to learn processing ... not math. so for the full benefit of it you should better code your own.
« Last Edit: Aug 10th, 2004, 8:25am by fjen »  
BillionNamesofGod

7188749971887499 WWW
Re: Mandelbrot Fractal Set - processing code?
« Reply #2 on: Aug 19th, 2004, 12:57am »

Jesus, got to be the shortest mandelbrot code
I've ever seen.
 
I just wish I could understand it again.
 
Anyone recommend a web-source which explain how
to code one.
 
Just I wanted one that actually worked in complex
numbers or array, rather than break down
the  z=z2+c into components..
 
anyone got a complex number library?
 
I just wanted something that was extremely readable, as I want to experiment with the different methods
of creating fractals with different formulas,
so a program which works purely on z=z2+c stripped down is no use, as I want on with z=z3+c, or z=z4+c2, you know just different complex equations!
 
THanks.
 
Philipp

WWW Email
Re: Mandelbrot Fractal Set - processing code?
« Reply #3 on: Sep 22nd, 2004, 12:33pm »

http://www.repeatwhiletrue.com/mandelbrot
 
Sorry, this is a late reply, and I don't know whether this will be of any use for you.
This was my first Processing sketch, done sometime last year by porting from a java applet I had written previously. It modifies the mandelbrot set by changing the method for multiplying with complex numbers, so it's a bit similar to what you're trying to do.
 
The code is pretty messy, and not optimised at all, however you might find some use in extracting the complexNumber class and perhaps the Fractal class. Keep in mind however that complex multiplication has been changed by adding an exponent "exp". As long as you set this exponent to 1, you should have your (albeit very basic) complex number library.
 
Pages: 1 

« Previous topic | Next topic »