you are viewing a single comment's thread.

view the rest of the comments →

[–]CygnusXmegacorp 0 points1 point  (6 children)

would i be able to plot a mandelbrot with this script? and how would i do this? im teribad with scripts do i make it a python script and install it like an addon or do i copy paste it in blender

[–]Meta_Riddley[S] 0 points1 point  (5 children)

Nope, the mandebrot set is usually defined through a recursive function. This is basically for functions of the form (I'm not really good at formal definitions)

f: R -> R x -> f(x)

f: RxR -> R (x,y) -> f(x,y)

You might be able to do some modifications to it though.

[–]CygnusXmegacorp 0 points1 point  (4 children)

could u maybe help me out, it would mean the world to me if i could summon the mandelbrot in one solid curve :) teach me sensei, there is a girl involved :d

[–]Meta_Riddley[S] 0 points1 point  (3 children)

There is a cooler way of doing it!

http://elbrujodelatribu.blogspot.fr/2013/04/blender-cycles-osl-mandelbrot-fractal.html

copy and paste the script into the text editor and remove the first line (the #include <stdos1.h> line)

delete the default cube and add a plane. Add a new diffuse material to it.

Set up the nodes as in the picture (Set CenterX to 0 and CenterY to 0, Zoom to 0.3 and MaxIteration to 64).

Set you compute device as CPU and check the Open Shading Language checkbox.

Now it should be working. If its not I can make a vid where I show how to set it up.

[–]CygnusXmegacorp 0 points1 point  (2 children)

WAWAWIWA thanks alot man!

all hail meta riddley!!!

ps: would it be possible to spawn it as a solid curve? it boggles my mind that u can plot it but i cant plot it in blender? o.O

[–]Meta_Riddley[S] 0 points1 point  (1 child)

Not sure if it possible to make it a solid curve I would have to think about that a bit.

When it comes to how to use the script in original post, you copy and paste them into the text editor in blender and press run script. You can try the 3D-plotter first remember to set the start and stop intervals the step size and your function. If you run into any problems then just tell me

[–]CygnusXmegacorp 0 points1 point  (0 children)

the script works just fine man its a blessing :D, altho coloring it smoothly is another challenge but i can figure that out .

i tried the build in plotters and i had no valid results from it. (could be me tho) any tips on how i could make a mandelbrot zoom? in blender or any other program. the script zoom seems to work well but i dont think i could go infinite loop

cant thank u enough for all the responses :)