POV-Ray : Newsgroups : povray.binaries.images : Some interesting 2D Mandelbrots [70 k, 95 k, 50 k, 70 k] : Some interesting 2D Mandelbrots [70 k, 95 k, 50 k, 70 k] Server Time
5 Nov 2024 16:40:49 EST (-0500)
  Some interesting 2D Mandelbrots [70 k, 95 k, 50 k, 70 k]  
From: Dave Matthews
Date: 5 Jul 2005 11:38:12
Message: <42caa964@news.povray.org>
As if POVRay didn't have 2 zillion features that I'll never live to 
discover, I'll toss another on the "wish list:"  Support for 
complex-valued functions.  Although it's not a real high priority, I'm 
guessing.

I was playing around with some interesting Mandelbrot sets using Flarium 
(an apparently deceased freeware fractal program) and wanted to recreate 
the images with POVRay.  The two families are z(N+1) = (sin(zN^2+c))^2 + 
c, and z(N+1) = (sihh(zN^2 + c))^2 + c.  So, I sharpened my pencil and 
separated these into real and imaginary parts by hand, rendered them on 
POV, and got completely different, but plausible-looking results from 
what Flarium produced.  Next I broke out MAXIMA (plug for MAXIMA:  the 
descendant of MACSYMA, now an open-source CAS, located here: 
http://maxima.sourceforge.net/ It's in some ways better than Mathematica 
and Maple, though not as pretty, but it's FREE!) and, amazingly, got the 
same results as I did by hand.  Since Flarium has some issues with order 
of operations in its user-defined functions, I wasted several days 
trying to figure out what Flarium was doing differently.

Turns out, Flarium by default uses the convention: z0 = c, rather than 
z0 = 0, which, of course makes no difference in the classic Mandelbrot 
set (since, if z0 = 0, then z1 = c), but quite a difference in the ones 
I was looking at.

Anyway, here are a few views of the two sets, using the convention that 
z0 = c.  What I think is cool is the appearance of small classic 
Mandelbrot sets, where the sequence cycles periodically or chaotically, 
surrounded by regions of positive area where the sequence converges 
rapidly.  (Another interesting set is z*sin(z) + c, which I studied 
rather extensively years ago, when I still had to write the programs in 
Apple PASCAL and run them on the IIGS for a few weeks at a time (then 
take a picture of the monitor, if I wanted to save the image....) )

Dave Matthews


Post a reply to this message


Attachments:
Download 'sinesquared01.jpg' (42 KB) Download 'sinesquared02.jpg' (95 KB) Download 'sinhsquared01.jpg' (43 KB) Download 'sinhsquared02.jpg' (67 KB)

Preview of image 'sinesquared01.jpg'
sinesquared01.jpg

Preview of image 'sinesquared02.jpg'
sinesquared02.jpg

Preview of image 'sinhsquared01.jpg'
sinhsquared01.jpg

Preview of image 'sinhsquared02.jpg'
sinhsquared02.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.