Title: a creative buddhabrot rendering Post by: ker2x on May 17, 2010, 09:44:38 PM I was just a tiny test, and i love the result : http://fractals.s3.amazonaws.com/applets/buddhaline/applet/index.html
It's slow on purpose (believe me, it really is slow on purpose) :) the "different" rendering is extremy simple. instead of Code: void plotPlots() {i wrote : Code: void plotPlots() {source code available on the applet page (the .pde if, it's simpleified java code, you can download the sdk and ide here : http://www.processing.org/ ) review please ? Title: Re: a creative buddhabrot rendering Post by: ker2x on May 17, 2010, 09:57:47 PM i found a nicer rendering, brownian motion instead of lines : http://fractals.s3.amazonaws.com/applets/buddhabrownmotion/applet/index.html
Code: void plotPlots() {please tell me what you think about it ! i love it, but what about you ? Title: Re: a creative buddhabrot rendering Post by: ker2x on May 17, 2010, 11:02:00 PM i improved the "line" version : http://fractals.s3.amazonaws.com/applets/buddhalinetwo/applet/index.html
PS: the code is not optimal, but "it works" :) Code: void plotPlots() {Title: Re: a creative buddhabrot rendering Post by: ker2x on May 18, 2010, 12:30:33 AM another one, more focusing on the real buddhabrot rendering than the messy stuff around it http://fractals.s3.amazonaws.com/applets/buddhalinethree/applet/index.html
The "final" version. i'll use this kind of algorithm on my fortran version. (but much more optimised) it's amazing how it allow to quickly build high iteration mandelbrot. the algo is extremly simple : - i find (random try) a candidate point with a lot of iteration - as soon as i found one, i try some neighbour on the x axis (and stop trying as soon as i found a point that do not have enough iteration to be plotted) - i do the same with -x, y and -y - done. Code: void plotPlots() {Title: Re: a creative buddhabrot rendering Post by: ker2x on May 18, 2010, 08:12:13 AM a result rendering after ~8h with 1 million maximum iteration :
(http://fractals.s3.amazonaws.com/buddhabrot/buddhalinethree-1million.jpg) Title: Re: a creative buddhabrot rendering Post by: kram1032 on May 18, 2010, 05:35:59 PM Oh, very nice :D
I did my own modification of that source which is what I used for my various Buddhabrot variations :) Some formulae return amazing patterns :) That's cool. It should be very easy for me to try this out myself :D I particualirly love the brownean variation :) The "final" you did: Is that an optimized version, that doesn't do much difference visually? Title: Re: a creative buddhabrot rendering Post by: kram1032 on May 18, 2010, 05:53:13 PM One question, as you played around with the code:
More or less since I got this code to work for the first time, I wonder, how to change it into a buddhagram. I tried to randomize x0 and y0 as well but, depening on where I do so, that either changes nothing at all or creates an appearance of the anti-set, as the anti-set gains a lot more exposures than the extening points one. It has to be very simple, but I didn't figure it out until now. Nearly anything else I tried, I was able to build in: Zooming, panning, colouring, altering the resolution... (Zooming, panning and colouring are cumbersome, but they do work) Title: Re: a creative buddhabrot rendering Post by: kram1032 on May 18, 2010, 06:31:45 PM I'm now trying this as a brownian motion variation:
Code: void plotPlots() { // brownian variation 2 with symmetryEDIT: Oh and if you didn't yet do that in your Fortan variation, I'd suggest to add the very same routines once again but with -y rather than y, as the set is symmetric :) Title: Re: a creative buddhabrot rendering Post by: ker2x on May 18, 2010, 07:12:33 PM my fortran version (not yet modified) is here : http://github.com/ker2x/Fortran_buddhabrot/blob/BlackAndWhite/buddhabrot.f90
The optimisations coded on the fortran version are : - take advantage of the fact that the mandelbrot (power 2) is symetric. - quickly detect if a point is in the main cardioid or the 2nd order circle. - multi thread the "final" java version (which isn't really final) is "optimised" simply because it can render nice buddhabrot with high iteration much more quickly than a good old rendering. Feel free to modify my applet, of course. It's open source i always opensource stuff, but the code is ugly and not easy to maintain : It just my sandbox :) Title: Re: a creative buddhabrot rendering Post by: kram1032 on May 18, 2010, 07:47:59 PM Well, I didn't really modify your app. I modified the original app (already a long time ago) and now added the same changes you did to my current version. :)
I edited the code a little bit one again (in my previous post). As it is now, the brownian has a strange (but easily explainable, I guess) behaviour: While the symmetry (which I just added) works for the center point, eg, the original x and y, the brownian splotches which are added at each exposure, aren't exactly symmetric but rather rotated around the symmetry points. # ... symmetry point -#- ... pattern (brownian) Like this: Code: / the mirror axis lies exactly in between the two #s. I hope, that explanation works ^^ Title: Re: a creative buddhabrot rendering Post by: kram1032 on May 18, 2010, 09:50:42 PM Here you go :)
With that image, it should be clearer, what I meant with rotated and symmetric and stuff. Note, how it features the same patterns on both sides but with a different orientation... (http://fc03.deviantart.net/fs71/f/2010/138/9/8/Tribal_Symbolism_by_kram1032.png) http://kram1032.deviantart.com/art/Tribal-Symbolism-164500454 Title: Re: a creative buddhabrot rendering Post by: ker2x on May 18, 2010, 11:56:25 PM http://fractals.s3.amazonaws.com/applets/buddhalinemovie/applet/index.html
an early work in progress that give me a headache ... i want to do "something like that". But i can't find why it sometime stay doing nothing visible for a (potentially) long time. the goal is to make a nice and smooth animation. About your previous post... i don't understand why it rotate. PS: the code is very very ugly :sad1: Title: Re: a creative buddhabrot rendering Post by: kram1032 on May 19, 2010, 05:21:00 PM well, I basically just modified what you did on your "final" line version and what you did with the brownian motion variation and merged it into one piece of code.
So the code shouldn't be much more ugly than what you did :P - especially after the edit. Before, I did a lot of unnecessary steps^^ To the brownian motion, I also added symmetry with the y01 - y41 which are just using -y rather than y, as their counterparts do. Besides that, it's always the same thing... Title: Re: a creative buddhabrot rendering Post by: ker2x on May 19, 2010, 07:01:36 PM well, I basically just modified what you did on your "final" line version and what you did with the brownian motion variation and merged it into one piece of code. So the code shouldn't be much more ugly than what you did :P - especially after the edit. Before, I did a lot of unnecessary steps^^ To the brownian motion, I also added symmetry with the y01 - y41 which are just using -y rather than y, as their counterparts do. Besides that, it's always the same thing... Woooooops, sorry. :o i meant : MY code is very ugly !! Not your ! Mea Culpa :flowers: Title: Re: a creative buddhabrot rendering Post by: kram1032 on May 19, 2010, 08:00:13 PM I see :alien: |