Logo by Trifox - 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. March 28, 2024, 01:41:51 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: SurfBox - another cool Mandelbox variant  (Read 4899 times)
0 Members and 1 Guest are viewing this topic.
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« on: February 08, 2017, 05:27:07 PM »

I hand-drawn a strange function that I thought could be cool for experimenting with mutations of ABox.
The modification effect is neaty and deserves more deep looking.
Let me show you how it works, just a little tricky formula that adds a fold that will trigger after the normal folding limit to work like an abs() - so the result is something that stays on borderline between Amazing Surf and the old Box!

Code:
        // Mixed fold by Luca 2016.
        // do this for all 3d axis, or 4d axis if you have a 4d abox
        // Tglad normal fold is cfg->x = fabs(cfg->x + fold) - fabs(cfg->x - fold) - cfg->x;
sg = sign(cfg->x);
folder = sg * cfg->x- fold; // fold is Tglad's
folder += fabs(folder);
folder = min(folder, foldModX); // and Y,Z,W
cfg->x -= sg*folder;

If foldMod = 0, you disable the fold of the corresponding axis. Nice to create curly surfaces aka amazing surf grin
Conversely if foldMod tends to infinity, you get Tglad's fold. I found that 2000 can be enough.
If foldMod = 2*fold, you get the perfect Mixed Folding, simulating abs() and fold at the same time.
If foldMod = 4*fold, you get a double folding just like doing fold twice.


Images on next post. A Beer Cup
Logged

No sweat, guardian of wisdom!
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #1 on: February 08, 2017, 05:39:01 PM »



The standard Amazing Box, but with modified folding with value 2. Strange features are already visible in MSet! cheesy
Logged

No sweat, guardian of wisdom!
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #2 on: February 08, 2017, 05:49:15 PM »

Julia set of coords (0.3333333 ;0.3333333 ; 2) - a point on the critical square. A Julia of a normal ABox of that location looks like a solid cube, nothing else. Like the previous image, this is with all parameters as in the original first Tglad's Abox... minr=0.5 fold=1 scale = 2.
All the parts of this julia are infinitely thin, like Amazing Surfaces. But this formula also has solid parts making it really versatile ... wink

« Last Edit: February 08, 2017, 06:12:51 PM by DarkBeam » Logged

No sweat, guardian of wisdom!
KRAFTWERK
Global Moderator
Fractal Senior
******
Posts: 1439


Virtual Surreality


WWW
« Reply #3 on: February 08, 2017, 06:35:49 PM »

Hmmmm, looks promising... Great idea Luca!  A Beer Cup afro
Logged

DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #4 on: February 08, 2017, 06:51:57 PM »

Thanks Johan, this formula hides many wonders smiley sweet music
Logged

No sweat, guardian of wisdom!
mclarekin
Fractal Senior
******
Posts: 1739



« Reply #5 on: February 09, 2017, 04:17:34 AM »

Looks fast smiley  A Beer Cup A Beer Cup A Beer Cup



I recognize that smooth spheric zone :0





http://www.fractalforums.com/index.php?action=gallery;sa=view;id=19328
« Last Edit: February 09, 2017, 04:24:09 AM by mclarekin, Reason: Failing to insert image » Logged
mclarekin
Fractal Senior
******
Posts: 1739



« Reply #6 on: March 29, 2017, 09:39:45 AM »

@ DarkBeam

Can you remember if this fold looks like the yellow line on the chart.

So inside the fold limits - no change, then there is a transition , then an offset =  foldModX??


* db.png (29.51 KB, 920x460 - viewed 477 times.)
Logged
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #7 on: March 29, 2017, 04:53:37 PM »

Hello! No, my fold is conformal, no angle changes, only sign change in derivates. smiley By the way, yes inside the folds nothing happens... Then Tglad fold (without changing the angle, so 1st angle sign inversion), then the derivate changes sign after a while, keeping continuity wink
Logged

No sweat, guardian of wisdom!
mclarekin
Fractal Senior
******
Posts: 1739



« Reply #8 on: March 30, 2017, 10:06:26 AM »

Fortunately Buddhi always assures me there is no such thing as a stupid question, otherwise  huh? :-.  If i had bothered to re-read the post instead of just copying the code and making some guesses I would have realized I was way off smiley
 I assumed cfg was the abbreviation for "confusing" lol.

I will have another go and see what i get.

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

Related Topics
Subject Started by Replies Views Last post
Mandelbox Variant 21 (new) Theories & Research « 1 2 » trafassel 26 6698 Last post August 04, 2011, 10:50:27 PM
by trafassel
Metaship.frag - cool burning ship variant Fragmentarium laser blaster 0 2193 Last post March 17, 2014, 03:30:09 AM
by laser blaster
surfBox yA002 Mandelbulber Gallery mclarekin 0 1052 Last post October 02, 2016, 08:18:40 AM
by mclarekin
surfBox yA003 Mandelbulber Gallery mclarekin 1 895 Last post October 04, 2016, 05:39:07 AM
by 3dickulus
surfBox yA004 Mandelbulber Gallery mclarekin 0 897 Last post October 05, 2016, 06:46:36 AM
by mclarekin

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