Welcome to Fractal Forums

Fractal Software => Programming => Topic started by: ker2x on November 08, 2011, 10:09:11 PM




Title: The BuddhaLine is back, in color (ugly processing source code included)
Post by: ker2x on November 08, 2011, 10:09:11 PM
(http://fractals.s3.amazonaws.com/applets/buddhalineColor/buddhalineColor.jpg)

The Applet : http://fractals.s3.amazonaws.com/applets/buddhalineColor/buddhalineColor/index.html
And the source code : http://fractals.s3.amazonaws.com/applets/buddhalineColor/buddhalineColor/buddhalineColor.pde

If you don't know what "pde" is, it's the file extension of processing : http://www.processing.org/
(some kind of java, simplified, for visual art stuff)

Enjoy :)


Title: Re: The BuddhaLine is back, in color (ugly processing source code included)
Post by: PurpleBlu3s on December 12, 2011, 09:45:34 AM
Nice.

How is the BuddhaLine generated?


Title: Re: The BuddhaLine is back, in color (ugly processing source code included)
Post by: kram1032 on December 13, 2011, 12:19:50 AM
Apparently, by looking at the source code, the generation is the very same to that of the default Mandelbrot set.
Though it's weird in the first place that you first uncommented the default mbrot formulae and then wrote the same again...

Btw, a lot of that code is obsolete. I modified the same original source strongly and cut out anything that wasn't needed for the final result to appear.
For instance, I took out the text that tells you the sample rate. just distracts from the image itself.

Also, I added some pan and zoom as well as variable brightness, triple bail values (for colour) and variable resolution centralized on top of the file. If you want I can share my version with you so you can do your own imrpovements on it :)
Additionally, I added a couple of possibly useful simple functions that aren't by default included in the functionality of processing...

Edit: There you have the source:
http://dl.dropbox.com/u/43824608/Buddhabrot.pde


Title: Re: The BuddhaLine is back, in color (ugly processing source code included)
Post by: ker2x on December 21, 2011, 07:33:18 PM
Apparently, by looking at the source code, the generation is the very same to that of the default Mandelbrot set.
Though it's weird in the first place that you first uncommented the default mbrot formulae and then wrote the same again...

Btw, a lot of that code is obsolete. I modified the same original source strongly and cut out anything that wasn't needed for the final result to appear.
For instance, I took out the text that tells you the sample rate. just distracts from the image itself.

Also, I added some pan and zoom as well as variable brightness, triple bail values (for colour) and variable resolution centralized on top of the file. If you want I can share my version with you so you can do your own imrpovements on it :)
Additionally, I added a couple of possibly useful simple functions that aren't by default included in the functionality of processing...

Edit: There you have the source:
http://dl.dropbox.com/u/43824608/Buddhabrot.pde

haha yes, i hacked this code so many times that it's unreadable :)
i planned to rewrite a code template that use controlP5, but i write processing code only when i want to hack something, and i don't want to lose time writing clean code when i'm just hacking some random idea :)