Logo by Fractal Ken - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Follow us on Twitter
 
*
Welcome, Guest. Please login or register. July 27, 2021, 07:39:03 AM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: The BuddhaLine is back, in color (ugly processing source code included)  (Read 2713 times)
0 Members and 1 Guest are viewing this topic.
ker2x
Fractal Molossus
**
Posts: 795


WWW
« on: November 08, 2011, 10:09:11 PM »



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 smiley
Logged

often times... there are other approaches which are kinda crappy until you put them in the context of parallel machines
(en) http://www.blog-gpgpu.com/ , (fr) http://www.keru.org/ ,
Sysadmin & DBA @ http://www.over-blog.com/
PurpleBlu3s
Alien
***
Posts: 28



« Reply #1 on: December 12, 2011, 09:45:34 AM »

Nice.

How is the BuddhaLine generated?
Logged
kram1032
Fractal Senior
******
Posts: 1863


« Reply #2 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 smiley
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
« Last Edit: December 13, 2011, 12:33:19 AM by kram1032 » Logged
ker2x
Fractal Molossus
**
Posts: 795


WWW
« Reply #3 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 smiley
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 smiley
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 smiley
Logged

often times... there are other approaches which are kinda crappy until you put them in the context of parallel machines
(en) http://www.blog-gpgpu.com/ , (fr) http://www.keru.org/ ,
Sysadmin & DBA @ http://www.over-blog.com/
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
OpenCL marching cubes source code release 3D Fractal Generation folded 3 4327 Last post May 25, 2015, 05:35:39 AM
by flexiverse
Mandelbulb3d source code? Programming flexiverse 14 6856 Last post April 14, 2015, 11:39:52 AM
by DarkBeam
Mandelbulb Source Code? Programming neosettler 5 3566 Last post April 14, 2015, 11:38:51 AM
by DarkBeam
Source code is available Mandel Machine Botond Kˇsa 10 1751 Last post December 12, 2014, 03:26:47 PM
by 3dickulus

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.137 seconds with 24 queries. (Pretty URLs adds 0.009s, 2q)