Forum Topic: Fractals

(1,516 views • 11 replies)

This topic is 1 page long.

<< < > >>
None

Glaiel-Gamer

Reply To Post Reply & Quote

Posted at: 7/8/08 01:45 PM

Glaiel-Gamer NEUTRAL LEVEL 27

Sign-Up: 12/28/04

Posts: 8,030

I used adobe's pixel bender toolkit to make a mandelbrot renderer.

Here's the high quality renders:

http://www.glaielgames.com/Images/brot.j pg
http://www.glaielgames.com/Images/Brot3.
jpg

http://www.glaielgames.com/Images/brot4.
jpg

PICTURE 1:
First render. The coloring went to white then stopped, so a lot of the detail is lost, or appears snowflakeish instead of noisy. Looks pretty neat.

Fractals


None

Glaiel-Gamer

Reply To Post Reply & Quote

Posted at: 7/8/08 01:47 PM

Glaiel-Gamer NEUTRAL LEVEL 27

Sign-Up: 12/28/04

Posts: 8,030

PICTURE 2:
I made the colors cycle instead of stop at white so a lot more detail is present.

Fractals


None

Glaiel-Gamer

Reply To Post Reply & Quote

Posted at: 7/8/08 01:48 PM

Glaiel-Gamer NEUTRAL LEVEL 27

Sign-Up: 12/28/04

Posts: 8,030

PICTURE 3:
I changed the math around a little bit.

The neat thing about the filter is that cause it's GPU accelerated, the whole thing is rendered in real time, at about 20 FPS.

Fractals


None

MindChamber

Reply To Post Reply & Quote

Posted at: 7/8/08 01:53 PM

MindChamber DARK LEVEL 20

Sign-Up: 06/20/00

Posts: 4,581

these are all very awesome, any links of them in motion?

BBS Signature

None

SubSub

Reply To Post Reply & Quote

Posted at: 7/8/08 01:54 PM

SubSub NEUTRAL LEVEL 05

Sign-Up: 06/04/08

Posts: 51

wow, have no idea what these are but they're amazing anyway.
triptastic.


None

Shea08

Reply To Post Reply & Quote

Posted at: 7/8/08 01:55 PM

Shea08 NEUTRAL LEVEL 11

Sign-Up: 02/10/08

Posts: 712

I think you should use white on the background instead of black. I think it would just be easier on the eye and would blend nicer. But still, nice work


None

Glaiel-Gamer

Reply To Post Reply & Quote

Posted at: 7/8/08 02:06 PM

Glaiel-Gamer NEUTRAL LEVEL 27

Sign-Up: 12/28/04

Posts: 8,030

At 7/8/08 01:53 PM, MindChamber wrote: these are all very awesome, any links of them in motion?

No, but if you download the pixel bender toolkit I can give you the code so you can zoom around on your own.

<code>
<languageVersion: 1.0;>
kernel mandelbrot
<
namespace : "Fractals";
vendor : "Glaiel";
version : 1;
>

{
parameter int iterations

<

minValue:int(1);

maxValue:int(3000);

defaultValue:int(5);

>;
parameter float zoom
<

minValue:float(1.0);

maxValue:float(10.0);

defaultValue:float(2.5);

>;
parameter float2 orgin

<

minValue:float2(-2.0, -1.0);

maxValue:float2(1.0, 1.0);

defaultValue:float2(0.0, 0.0);

>;
parameter float2 k

<

minValue:float2(-2.0, -1.0);

maxValue:float2(1.0, 1.0);

defaultValue:float2(0.0, 0.0);

>;

region generated()
{
return everywhere();
}

output float4 dst;

void
evaluatePixel()
{
float2 coord = outCoord()/pow(10.0, zoom)+float2(orgin);
float2 coord2 = coord;

int iteration = 0;

while (coord.x*coord.x + coord.y*coord.y <= (4.0) && iteration < iterations ) {

float xtemp = coord.x*coord.x - coord.y*coord.y + coord2.x + k.x;

coord.y = 2.0*coord.x*coord.y + coord2.y + k.y;

coord.x = xtemp;

iteration = iteration + 1;

}

float4 color = float4(0.0, 0.0, 0.0, 1.0);

if (iteration != iterations) {

while(iteration>0){

if(color.b<1.0){

color.b += .1/zoom;

} else if(color.g<1.0){

color.g += .1/zoom;

} else if (color.r<1.0){

color.r += .1/zoom;

} else {

color.b = 0.0;
color.g = 0.0;
color.r = 0.0;

}

iteration -= 1;

}

}

dst = color;

}
}</code>


None

hijackreaper

Reply To Post Reply & Quote

Posted at: 7/8/08 03:38 PM

hijackreaper LIGHT LEVEL 07

Sign-Up: 12/23/06

Posts: 3,366

Congratulations, you can make a Mandelbrot fractal, and use the black paint can.

This may or may not be a signature. If it is, it is indeed a shitty one at that. Good day

BBS Signature

None

lilcheeselad

Reply To Post Reply & Quote

Posted at: 7/8/08 04:04 PM

lilcheeselad FAB LEVEL 21

Sign-Up: 10/09/07

Posts: 3,492

Nice

BBS Signature

None

Glaiel-Gamer

Reply To Post Reply & Quote

Posted at: 7/8/08 09:12 PM

Glaiel-Gamer NEUTRAL LEVEL 27

Sign-Up: 12/28/04

Posts: 8,030

At 7/8/08 02:06 PM, Glaiel-Gamer wrote: No, but if you download the pixel bender toolkit I can give you the code so you can zoom around on your own.

<code>

</code>

Hmm it appears the code tags don't work on the art forum

www.glaielgames.com/Images/Mandelbrot.pb k

the download is on here

http://labs.adobe.com/wiki/index.php/Pix el_Bender_Toolkit


None

Glaiel-Gamer

Reply To Post Reply & Quote

Posted at: 7/9/08 12:21 AM

Glaiel-Gamer NEUTRAL LEVEL 27

Sign-Up: 12/28/04

Posts: 8,030

At 7/8/08 01:53 PM, MindChamber wrote: these are all very awesome, any links of them in motion?

http://www.youtube.com/watch?v=8TQ9g17x9 Bo

youtube made it choppy :(


None

Zeta-Neubourn

Reply To Post Reply & Quote

Posted at: 7/9/08 02:06 AM

Zeta-Neubourn LIGHT LEVEL 08

Sign-Up: 06/06/08

Posts: 57

The first one has to be my favorite. I like how it gets brighter and brighter and then boom... black. I dunno what the art term for that is, exactly... contrast? Anyways, it looks shweet. They all do.

JC b w/ u
ZN's DA Account


All times are Eastern Standard Time (GMT -5) | Current Time: 12:06 PM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!