Sign in to follow this  
moc426

Fractal Mandelbrot - Updated 09/15/2007

Recommended Posts

Here is the promised fractal plugin, this is the mandelbrot function.

NOTE: I did not write the mandelbrot function, the function is taken directly from the codelab sample. The function was converted from codelab to c#. Would like to do same for julia function sometime and perhaps follow up with other types. Julia function is a sample in codelab as well so that shouldn't be a problem to setup.

I didn't get to test it too much, and it probably needs some things. So you tell me, I know already it should have reset buttons especially for the x and y offsets cause their value is much more than needed.

update 9/10/2007 download same zip below

Added color sliders, red, green, blue and alpha. you have to mess around with it to get color as you want.

Added new image below.

update 9/15/2007

Added reset buttons to individual settings.

Fixed tab indexes.

Lowered up/down increments for offsetX and offsetY to .01 instead of .02.

So here we go, a screenshot. Enjoy!

Download

mandelbrot.png

Here is an image I made using this.

I was asked about this image a few times, so here is a tutorial that should help. tutorial

unknown10.png

and another

mandelbrot2.png

Share this post


Link to post
Share on other sites

cool one :)

can u make the X/Y Offset more sensitiv?

not X,XX make it like this X,XXX oder X,XXXX this would be nice :PaintBrushTool:

a preview function will beu usefull, - u sea the pic, an there is a "box" which shows the cut out of it, which is shown in de pic would be nice

Share this post


Link to post
Share on other sites

Welcome all. I will see about fixing the offsets later.

Added new picture.

Yata, the idea is to have more fractal types so it is getting its own menu. I am sure if it belongs in render, unless I can do a

render -> fractal -> mandelbrot, then it would be nice. Not sure if I can. But if people want it in render, I can move it so let me know what you guys want. Render or Fractal

Please, oh please put this in the render sub menu!

Otherwise, fantastic plugin. Thank you!

Share this post


Link to post
Share on other sites
Shorter the list - Happier the Yata :wink:

The shorter the list the happier the me. ;)

Yeah, stick it in render, I've got loads of plugins & there's a little arrow at the bottom of my effects menu already.

Share this post


Link to post
Share on other sites
But if people want it in render, I can move it so let me know what you guys want. Render or Fractal

I agree with Yata and vote for render. Just rename the plugin, e.g. "Fractal: Mandelbrot". It will look like this: Render -> Fractal: Mandelbrot.

And I would be glad to see more fractals. I tried to make plugins from the cs scripts, but didn't found the time and knowledge, therefore I'm lucky to see this now.

And thank you, it's nice. :)

Share this post


Link to post
Share on other sites

Can we have the source code for it, well, the edited source code anyways, I might try and have a look at it and improve it.

And also, can you create more than 3 sliders in Code Lab?

Share this post


Link to post
Share on other sites

Maybe once you have more fractals (or maybe even once you have two) you could do an MKT and have the different 'modes' under one roof. MKT has |Sphere|Cylinder|Box| you could have |Mandelbrot|Julia|....|? This will shorten space, free up menu item real-estate and also just incase, for example, you want Julia but accidentally go for Mandelbrot you can easily switch without having to close the dialog and climb through all those menus again.

If not, Render sounds good :).

Share this post


Link to post
Share on other sites

Ok updated to render submenu.

And fixed up/down increments for offset, the slider does a full integer so it skips a lot, in this case the up/down arrows are best suited.

Myrddin, good idea.

Edit, will post source later, but I may not have time to look at this until next week.

Share this post


Link to post
Share on other sites

1 think too, make the cooler chooseable, red, yellow, etc etc, or use it from primary colour this would be very very nice, only blue is not what everybody needs :))

Share this post


Link to post
Share on other sites

Wow, awesome! Can't wait to use this. I second Myrddin's idea; menu monkey bars are tough, and MKT's solution is easy. For me, at least :-)

Anyway, I am super-excited about this plugin!

Share this post


Link to post
Share on other sites

Excellent first fractal plugin for PDN. can't wait for a broader variety. :D

Although it would be nice to have other colors, I find Hue, Saturation to be an easy fix for a blue :cry: fractal

Share this post


Link to post
Share on other sites
And I'm a fan of the "render -> fractal -> mandelbrot" idea that was tossed around.

I don't think "subs in subs" are possible.

I don't think so either, but thought I'd at least mention it in case it is there (or might be there in the future...? :)).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this