Logo by titia - Contribute your own Logo!
News: Check out the originating "3d Mandelbulb" thread here
 
*
Welcome, Guest. Please login or register., Guest. Please login or register. September 06, 2010, 04:35:23 PM


Login with username, password and session length



Pages: [1]
  Print  
Share this topic on Facebook
Author Topic: Toroidal Coordinates  (Read 458 times)
0 Members and 1 Guest are viewing this topic.
BradC
Conqueror
*******
Posts: 80



« on: December 03, 2009, 09:11:11 PM »

Summary: I didn't find any holy grails.

Details: A few people have mentioned trying toroidal coordinates, so I did some experiments and here's what I got. The coordinate systems used in the images below are obtained by rotating polar coordinates about the z-axis. (The usual mathematical toroidal coordinate system is obtained by rotating *bipolar* coordinates about the z-axis, but I haven't tried that.) The coordinates I used are (r, theta, phi), where r is the distance from the center of the tube, theta is the angle measured (from a reference angle gamma) around the tube, and phi is the angle measured along the tube. I used 3 parameters (alpha, beta, gamma) to parametrize the coordinate system. Alpha is the distance from the origin to the center of the tube, beta is the radius of the tube at which "squaring" r leaves points unchanged, and gamma specifies the reference origin used when doubling theta. Squaring a point consists of doubling theta and phi, and squaring and scaling r such that points beta units from the center of the tube stay at distance beta. Points inside the tube move farther inside, and points outside move farther outside. Here's a picture:


I experimented with parameters ranging from the degenerate case of a sphere (alpha = 0, beta = 1), a spindle torus (alpha = 1/4, beta = 3/4), a horn torus (alpha = 1/2, beta = 1/2), and a ring torus (alpha = 3/4, beta = 1/4). See http://en.wikipedia.org/wiki/Torus for a description of these types of tori. In the degenerate case of a sphere, these coordinates are equivalent to spherical coordinates, and we get the regular Mandelbulb fractal. As beta decreases (and our torus gets "thinner"), the fractal tends to thin out and get wispier, but I don't think I see anything new and exciting happening.

Here are degree 2 examples:


Here are degree 7 examples:

« Last Edit: December 04, 2009, 05:24:39 AM by BradC » Logged
fractalrebel
Iterator
*
Posts: 131


WWW
« Reply #1 on: December 03, 2009, 09:27:02 PM »

Hi Brad,

I think this is still and interesting variant.
Logged
kram1032
Fractal Iambus
***
Posts: 917


« Reply #2 on: December 03, 2009, 11:05:46 PM »

Actually, this is quite nice smiley
Logged
fractalrebel
Iterator
*
Posts: 131


WWW
« Reply #3 on: December 04, 2009, 12:58:30 AM »

Hi Brad,

I think this is still and interesting variant.

Brad,

Your equations don't have beta as a parameter.
Logged
BradC
Conqueror
*******
Posts: 80



« Reply #4 on: December 04, 2009, 02:14:25 AM »

I only wrote the equations for transforming (x, y, z) <-> (r, theta, phi) above. I left out the "Mandelbrot" part of the formula... In between the two equations above should go this step, which raises to the nth power:

r := r^n / beta^(n-1)
theta := n * theta
phi := n * phi

And then as the very last step, add the Mandelbrot constant:

x := x + a
y := y + b
z := z + c
Logged
David Makin
Global Moderator
Fractal Omnipotent
******
Posts: 1396



Makin' Magic Fractals
WWW
« Reply #5 on: December 04, 2009, 02:50:10 AM »

@BradC - What happens with negative alpha ?
Logged

The meaning and purpose of life is to give life purpose and meaning.

http://www.fractalgallery.co.uk/
"Makin' Magic Music" on Jango
BradC
Conqueror
*******
Posts: 80



« Reply #6 on: December 04, 2009, 05:35:03 AM »

Great idea! I like these a little better than the ones up above:


A zoom into the last one looks like this:

Logged
twinbee
Fractal Fertilizer
*****
Posts: 349



WWW
« Reply #7 on: December 04, 2009, 02:12:28 PM »

Hi Brad,

Wow, nice attempts. I'm surprised it looks so similar to the spherical Mandelbulb version.
Logged
matsoljare
Conqueror
*******
Posts: 57



WWW
« Reply #8 on: December 04, 2009, 08:17:46 PM »

The others should be zoomed, too!
Logged
Pages: [1]
  Print  
 
Jump to:  



Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC

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