Logo by S Nelson
News: Visit the Fractalforums.com User Gallery
 
*
Welcome, Guest. Please login or register. December 03, 2008, 09:30:07 PM


Login with username, password and session length



Pages: [1]
  Print  
Author Topic: Rendering the Mandelbrot set  (Read 199 times)
Description: How to display all the curls?
0 Members and 1 Guest are viewing this topic.
JohnC
Fractal Newbie
*
Posts: 3


View Profile
« 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 Bachius
*
Posts: 519



View Profile 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
Fractal Newbie
*
Posts: 3


View Profile
« 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
Trifox
Administrator
Fractal Molossus
*****
Posts: 573


Frascinating!


View Profile 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... angel1)
« Last Edit: March 23, 2008, 09:29:44 PM by Trifox, Reason: adding more info... » Logged

---

divide and conquer - iterate and rule
fractalmovies.com
JohnC
Fractal Newbie
*
Posts: 3


View Profile
« 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]
  Print  

 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
3D Fractal Rendering Project Fractal News across the world Nahee_Enterprises 0 216 Last post October 17, 2006, 07:41:10 PM
by Nahee_Enterprises
Mutatorkammer 0.655 - 3d Rendering Activated Announcements & News Trifox 2 234 Last post May 30, 2007, 11:18:00 AM
by Nahee_Enterprises
Quasi Quaternion Rendering Images Showcase (Rate My Fractal) Trifox 1 222 Last post November 28, 2007, 06:36:12 PM
by mishafe01
Ultrafractal 5 - Selfmade Rendering Cluster Let's collaborate on something! Trifox 3 109 Last post November 07, 2008, 09:52:24 AM
by lycium
Latex Rendering on FractalForums Fractal Forums News Trifox 0 78 Last post September 05, 2008, 01:54:08 AM
by Trifox

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC

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