Logo by S Nelson - 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. April 24, 2024, 04:38:23 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: 2D Mandelbox: Separating radius of inversion from max radius  (Read 5780 times)
0 Members and 1 Guest are viewing this topic.
CozyG
Forums Freshman
**
Posts: 13


« on: August 07, 2017, 12:29:29 PM »

For a standard 2D or 3D Mandelbox, the radius of the sphere of inversion (InvRadius) and the maximum distance a point can be from the inversion origin in order for the conditional inversion to be applied (MaxRadius) are equivalent. I've been experimenting with separating these, so in pseudocode the conditional inversion becomes:

Code:
if (point.length < MinRadius)
     point *= constant
else if (point.length < MaxRadius)
     point *= InvRadius^2 / point.length^2

Here's a few images where the only parameter being changed is MaxRadius relative to constant InvRadius. For param visualization:
     InvRadius ==> yellow
     MaxRadius ==> green
     MinRadus ==> red

MaxRadius = InvRadius


MaxRadius < InvRadius


MaxRadius > InvRadius


For MaxRadius < InvRadius this results in a ring region between MaxRadius and InvRadius circles where points under iteration do not get inverted (compared to MaxRadius = InvRadius)

For MaxRadius > InvRadius this results in a ring region between MaxRadius and InvRadius where points under iteration get inverted inward (rather than outward as in standard Mandelbox conditional sphere inversion)

Has this been tried before? I looked through a number of Mandelbox/AmazingBox formulas and didn't find anything similar, but with so many different variants in different programs I could have easily missed a pre-existing version of this.

I've tried this idea for the 3D Mandelbox as well, but results are murky. I think in 3D this causes what are referred to as cuts? Or tears? Which makes sense in terms of discontinuities in the conditional inversion when MaxRadius != InvRadius. Thinking I should try an AmazingSurface version next.

Fragmentarium frag files for 2D version are atttached, and include three-way param visualization overlay.

 

* Mandelbox2D_MaxRadius.zip (5.87 KB - downloaded 182 times.)
Logged
Alef
Fractal Supremo
*****
Posts: 1174



WWW
« Reply #1 on: August 22, 2017, 04:22:41 PM »

I think spherefold realy is two folds, fold around the sphere and the sphere inversion between 1 and Min_R. Maybe they could be seperated. I got 3D box of sphere inversion between R_SI and R_min but I didn't do spherefold.

Try this:
Instead of z=z+c
do
z=z+c/scale
There must be something. So this changes the outcome. Not shure about mathematical basis but I think scaleing interferes with + C. In Mandelbulb3D z vector is initialised with voxel coordinates not 0.
Logged

fractal catalisator
mclarekin
Fractal Senior
******
Posts: 1739



« Reply #2 on: August 23, 2017, 02:53:55 AM »

Quote
I think spherefold realy is two folds

Thats how I look at it too. A standard sphere_fold has two conditional functions,  (and you can have more.)

Quote
z=z+c/scale

In all Mandlebulber standard formula that uses "+ c ",   we use  z = z + c * vec3(Cscale), if the Cscale is omitted the possibilities are less infinite.

In fragmentarium  I use p3 = p3 + cJ + c3;  where cJ is Julia  and  c3 = c * vec3(Cscale),

Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Help with the Mass Radius method Help & Support clueso 6 1899 Last post August 02, 2010, 05:20:18 AM
by David Makin
Radius and angle-factors seperated Mandelbrot & Julia Set Krumel 2 2232 Last post August 21, 2010, 04:35:43 PM
by kram1032
Supermodulus radius generating superelipse shape (new) Theories & Research Alef 9 1618 Last post August 31, 2017, 11:58:17 AM
by Alef
Generalized shape inversion applied to the Mandelbox Amazing Box, Amazing Surf and variations « 1 2 » CozyG 17 9510 Last post August 12, 2017, 02:45:07 PM
by Alef
Separating the power function into 2 parts General Discussion Khashishi 3 6459 Last post September 08, 2017, 12:59:09 AM
by vinecius

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.141 seconds with 25 queries. (Pretty URLs adds 0.007s, 2q)