Logo by lycium - 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: Check out the originating "3d Mandelbulb" thread here
 
*
Welcome, Guest. Please login or register. March 29, 2024, 09:23:01 AM


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 2 3 [4] 5 6   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: An interesting fractal, the Mandelex (inspired by the box)  (Read 19818 times)
0 Members and 1 Guest are viewing this topic.
Alef
Fractal Supremo
*****
Posts: 1174



WWW
« Reply #45 on: January 08, 2013, 08:31:03 AM »

Could you use this tweaked version? It looks to have nice patterns unlike that of mandelbox/ menger sponge.

p.s.
If we would manage to convince Slijkerman, that UF could had special 3D formulas of type: formula, raytracer, colour method, everything would be slightly more easy.
Logged

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


Fragments of the fractal -like the tip of it


« Reply #46 on: March 05, 2013, 06:52:23 PM »

I have been playing around with the really cool Mandelex  wink discovered by Hiato. I have implemented it as 3D using 3D Fractal Raytrace in Ultrafractal. Here is an image that I call Slums.


Please can you write here a scheme of the formula you used smiley
Logged

No sweat, guardian of wisdom!
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #47 on: March 06, 2013, 01:40:00 PM »

@darkbeam, this post contains a cleaned up frag file, the function call is reall just calling the functions in this order:
http://www.fractalforums.com/index.php?topic=14516.msg56180#msg56180


linearPull(CircleInverse(Scale(Rotate(Add(nonLinearPull( z ),pixel)))))

smiley

values for rotate and scale imitate complex multiplication,  in 2d they are both single float values, in 3d you have an additional axis for rotation, so 2 floats as angle

« Last Edit: March 06, 2013, 01:43:56 PM by cKleinhuis » Logged

---

divide and conquer - iterate and rule - chaos is No random!
Alef
Fractal Supremo
*****
Posts: 1174



WWW
« Reply #48 on: March 06, 2013, 06:17:57 PM »

C / C++ style code of last and optimised version would be pretty useful.

It uses specific language, and if you read .frag file with notepad, you see everything in the same line and squares, where next line are.
Logged

fractal catalisator
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #49 on: March 06, 2013, 06:46:49 PM »

here is my c# implementation of the transforms:


linear_a linear_b and fold are float values, as described in first post

Code:

  private Complex linearPull(Complex p )
        {

            double tempreal = p.Real;
            double tempimag = p.Imaginary;

            if ((Math.Abs(tempreal) > linear_b) && (Math.Abs(tempimag) > linear_b))
            {
                double factw = linear_b * 2;
                double facth = linear_b * 2;
                if (tempreal < 0)
                {
                    tempreal += factw;
                }
                else
                {
                    tempreal -= factw;
                }

                if (tempimag < 0)
                {
                    tempimag += facth;
                }
                else
                {
                    tempimag -= facth;
                }

            }
   private Complex nonlinearPull(Complex p )
        {

            double tempreal = p.Real;
            double tempimag = p.Imaginary;
       // weiss nit wozu diese abfrage gut ist,      if ((Math.Abs(p.Real) < 1) && (Math.Abs(p.Imaginary) < 1) )
            {
                if ((Math.Abs(tempreal) > linear_a) && (Math.Abs(tempimag) > linear_a))
                {
                    double factw = linear_a * 2;
                    double facth = linear_a * 2;
                    if (tempreal > 0)
                    {
                        tempreal -= linear_a * Math.Floor(tempreal / linear_a);
                    }
                    else
                    {
                        tempreal -= linear_a * Math.Ceiling(tempreal / linear_a);
                    }

                    if (tempimag > 0)
                    {
                        tempimag -= linear_a * Math.Floor(tempimag / linear_a);
                    }
                    else
                    {
                        tempimag -= linear_a * Math.Ceiling(tempimag / linear_a);
                    }
                }
            }

            return new Complex(tempreal, tempimag); ;
        }
        private Complex transformBallFold(PointWithOrigin point)
        {
            double magnitude = point.current.Magnitude;
            if (magnitude < radius)
            {
                magnitude = magnitude / (radius * radius);
            }
            else if(magnitude<1) {
                magnitude = 1.0 / magnitude;
            }
            return Complex.FromPolarCoordinates(magnitude,point.current.Phase);
        }


Logged

---

divide and conquer - iterate and rule - chaos is No random!
laser blaster
Iterator
*
Posts: 178


« Reply #50 on: March 30, 2013, 05:32:52 AM »

Holy crap, that is amazing! grin  Wow, it has an entirely different feel from any fractal I've yet seen.  Great work. I'll need to start exploring this thing.
Logged
kram1032
Fractal Senior
******
Posts: 1863


« Reply #51 on: March 30, 2013, 04:31:07 PM »

I wouldn't call it entirely different but it IS very nice to look at.
Logged
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #52 on: February 02, 2015, 06:37:10 PM »

DE is totally horrible as expected! sad By the way why not grin


* mandalex.jpg (202.82 KB, 1000x750 - viewed 117 times.)
Logged

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


Virtual Surreality


WWW
« Reply #53 on: February 02, 2015, 07:30:07 PM »

DE is totally horrible as expected! sad By the way why not grin

Erhm... formula available?  angel
Logged

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


Fragments of the fractal -like the tip of it


« Reply #54 on: February 02, 2015, 07:48:16 PM »

Erhm... formula available?  angel

Uhm, eh...

...

YESSSS A Beer Cup
Logged

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


Virtual Surreality


WWW
« Reply #55 on: February 02, 2015, 07:51:25 PM »

 horsie riding horsie riding horsie riding horsie riding
Logged

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


Fragments of the fractal -like the tip of it


« Reply #56 on: February 03, 2015, 03:44:48 PM »

I made as usual coding mistakes btw I adopted a modified linear pull, much more versatile, cheesy

void linearPull(inout vec3 p, float lp, float effect, int fiddler) {
   int doLP = 0;
   if (abs(p.x)>lp) doLP++;
   if (abs(p.y)>lp) doLP++;
   if (abs(p.z)>lp) doLP++;
   if (fiddler == doLP)
{
      lp*=effect;
      if (p.x<0) p.x+=lp;
      else p.x-=lp;
      if (p.y<0) p.y+=lp;
      else p.y-=lp;
      if (p.z<0) p.z+=lp;
      else p.y-=lp;
   }
};


Images soon cheesy
« Last Edit: February 04, 2015, 07:08:19 AM by DarkBeam, Reason: lp everywhere :P » Logged

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


Fragments of the fractal -like the tip of it


« Reply #57 on: February 03, 2015, 03:50:22 PM »

Here's the big badass one! It's simply HUGE and oh my, details!!!! cheesy

Logged

No sweat, guardian of wisdom!
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #58 on: February 03, 2015, 04:25:38 PM »

nice having this beast in mb3d available!
Logged

---

divide and conquer - iterate and rule - chaos is No random!
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #59 on: February 03, 2015, 04:34:43 PM »

A wagon full of patience is a must. Dust is just everywhere and some variants are even worse. cry
Logged

No sweat, guardian of wisdom!
Pages: 1 2 3 [4] 5 6   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Demoscene - seemingly fractal inspired Demo Other Artforms aluminumstudios 1 3552 Last post November 10, 2010, 01:45:22 AM
by silencefreedom
Is there anyway to generate the Mandelex in M3D? Mandelbulb 3d bruceatsr44 4 3061 Last post March 11, 2013, 04:17:46 PM
by Alef
the Engineers - prometheus inspired fractal Movies Showcase (Rate My Movie) brasnacte 1 1828 Last post June 05, 2014, 09:51:07 PM
by Mrz00m
FREE DOWNLOAD - Refraktal EP - music inspired by fractal art Other Artforms refraktal 0 3011 Last post August 01, 2015, 08:53:51 AM
by refraktal
shadertoy kalibox inspired simple fractal Fractal News across the World cKleinhuis 0 1646 Last post August 26, 2015, 05:09:32 AM
by cKleinhuis

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