Logo by Fiery - 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: Visit us on facebook
 
*
Welcome, Guest. Please login or register. July 29, 2021, 06:47:08 PM


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: Rendering the Mandelbrot set  (Read 2167 times)
Description: How to display all the curls?
0 Members and 1 Guest are viewing this topic.
JohnC
Guest
« on: March 22, 2008, 06:42:24 PM »

Hi,
I've written a simple FORTRAN program to render the Mandelbrot set into a 640*480 24 bit colour windows bitmap file.
I've tried a few ways of rendering it:
1. using the number of iterations until the distance away is greater than 2
2. using the distance away from the original point or the origin
3. using a 16*16 grid of points within each pixel, iterating 20 times and if 'z' is greater than 2 it's in the set, and the colour of the pixel is the number of those 256 points that are 'in' the set.

They have given me the following outputs, and I'm reasonably happy with them, but how do you get it to display the curls that everyone elses programs show?







Logged
lycium
Fractal Supremo
*****
Posts: 1158



WWW
« Reply #1 on: March 22, 2008, 06:56:09 PM »

hmm your iteration might not be correct? using a variation of method 1 (with the escape iteration number indexing a palette) something like this should pop out: http://lyc.deviantart.com/art/fast-accurate-mandelbrot-74088382
Logged

JohnC
Guest
« Reply #2 on: March 23, 2008, 08:59:49 PM »

Cheers lycium! I made a rookie mistake somewhere in my program. It now displays the full beauty of the M-set!

Here are some pics!






I now feel like purging those pollutions of the fractal from my website and from this topic. Instead I'll probably replace them with tiny ones!
Logged
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #3 on: March 23, 2008, 09:14:02 PM »

great you found it, i was trying to reproduce that error with ultrafractal, but didnt manage cheesy got other weird results,

 grin

but that reminds me of an error i made long ago, i do not now anymore what it caused, but i think it was (real*real+imag*imag) instead of (real*real-imag*imag) for the real part multiplication  afro

but look what stared out of the screen ( warning, picture is >8 years old ! ... so i do not have any idea how to reproduce it... angel)
« Last Edit: March 23, 2008, 09:29:44 PM by Trifox, Reason: adding more info... » Logged

---

divide and conquer - iterate and rule - chaos is No random!
JohnC
Guest
« Reply #4 on: March 27, 2008, 06:59:04 PM »

This was the sequence resulting from my stupid error:

(real part)   (real part)  (imaginary part)
   Z(n+1)  = Z(n)*Z(n)-Z(n)*Z(n)                   (real eqn)
THEN
     (imaginary part)      (real part)
   Z(n+1)  = 2*Z(n)  *   Z(n+1)                      (im eqn)

If you zoom in a tiny bit it seems to exhibit some fractal behaviour, but it stops after a short while.
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Rendering time in UF5 UltraFractal Lennard 8 1908 Last post September 30, 2010, 11:05:30 PM
by The Rev
SuperFractalThing: Arbitrary precision mandelbrot set rendering in Java. Announcements & News « 1 2 ... 16 17 » mrflay 252 76532 Last post August 17, 2016, 11:59:31 PM
by cKleinhuis
New developments in Mandelbrot rendering? Programming grobblewobble 2 946 Last post July 16, 2013, 11:34:52 PM
by grobblewobble
Different approach on rendering julia-/mandelbrot set Mandelbrot & Julia Set TheRedshiftRider 1 1004 Last post April 02, 2015, 11:54:16 PM
by claude
*Continued* SuperFractalThing: Arbitrary precision mandelbrot set rendering in Java. Announcements & News « 1 2 ... 23 24 » hapf 347 27868 Last post September 28, 2017, 10:20:19 PM
by claude

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.159 seconds with 24 queries. (Pretty URLs adds 0.009s, 2q)