Welcome to Fractal Forums

Fractal Software => FractInt Gallery => Topic started by: simon.snake on March 11, 2012, 09:24:51 PM




Title: 2-D FractInt image looks like 3-D image
Post by: simon.snake on March 11, 2012, 09:24:51 PM
Who needs a 3-D fractal program when a 2-D fractal looks 3-D.

This FractInt formula I wrote produced the following image, which looks strangely 3-D with the right colour palette.

(http://www.needanother.co.uk/uploads/fract108.gif)

Simon


Title: Re: 2-D FractInt image looks like 3-D image
Post by: asimes on March 11, 2012, 10:37:41 PM
Willing to share the formula? I don't have that software but I'd love to try to make that shape to check it out


Title: Re: 2-D FractInt image looks like 3-D image
Post by: simon.snake on March 11, 2012, 11:27:07 PM
Hi Asimes

The FractInt formula that produced the image is the following:

Code:
simon0025 {
  i = 0
  p = pixel
  z = real(pixel)+flip(sin(imag(pixel))):
  i = i + (0.1,0.1)
  z = z * z + z * i
  |z| < 40
}

If you've never used it, I suggest visiting the FractInt website (google it) and you should be able to find details on the structure of a formula.

I understand these formulae are compatible with other software so you could try to run this one in Ultra Fractal or Chaos Pro.

Simon


Title: Re: 2-D FractInt image looks like 3-D image
Post by: asimes on March 12, 2012, 12:05:01 AM
I just make my own Java programs... I can't quite understand what is going on there in the code unfortunately. At a glance it looks like it is running:

z = z^2+z*something


Title: Re: 2-D FractInt image looks like 3-D image
Post by: asimes on March 12, 2012, 05:06:07 AM
Oh, does FractInt let you use complex numbers? I'm guessing that's what

i = i+(0.1, 0.1)

would be. I can't use complex numbers, just have to keep track of them


Title: Re: 2-D FractInt image looks like 3-D image
Post by: simon.snake on March 12, 2012, 10:56:03 AM
Hi asimes

Yes, FractInt does use complex numbers.  I'm not sure how you can convert this formula to code to use in your own fractal program.

There are others here who can do this, as there is another piece of software - fractal extreme which uses plugins and these have to be converted from the FractInt formula to c++ code which is then compiled into a .dll for the software to use.  Every fractal type is in its own plugin.

Simon


Title: Re: 2-D FractInt image looks like 3-D image
Post by: David Makin on March 12, 2012, 08:51:23 PM
The Fractint docs (online) give you (nearly) all the 2 real-number calculations required to perform complex math.


Title: Re: 2-D FractInt image looks like 3-D image
Post by: simon.snake on March 12, 2012, 11:30:56 PM
Hi David

Just spent some time trawling through the FractInt help and the page to find all this code is:

http://www.nahee.com/spanky/www/fractint/append_a_misc.html

Hope that helps anyone else who needs it.

Simon


Title: Re: 2-D FractInt image looks like 3-D image
Post by: David Makin on March 13, 2012, 12:47:57 AM
Hi David

Just spent some time trawling through the FractInt help and the page to find all this code is:

http://www.nahee.com/spanky/www/fractint/append_a_misc.html

Hope that helps anyone else who needs it.

Simon

That's the one - sorry I didn't have much time (or the link to hand) ;)