Logo by fractalwizz - 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: Support us via Flattr FLATTR Link
 
*
Welcome, Guest. Please login or register. May 24, 2022, 05:48:38 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: Mandelbox Julia with Spirals  (Read 626 times)
0 Members and 1 Guest are viewing this topic.
trafassel
Fractal Bachius
*
Posts: 531


trafassel
« on: January 09, 2017, 01:12:18 AM »

Mandelbox Julia with Spirals



http://www.fractalforums.com/index.php?action=gallery;sa=view;id=19927

 // Mandelbox Julia with fold at 0.5, scale = 1 and without y transformation.
// CenterX=5.50297045220822 CenterY=0.583399182382745
// CenterZ=2.10738023707053 Radius=0.214958267491292
public override bool GetBool(double x, double y, double z)
{
  for (int i = 0;i < 77;  i++)
  {
      while(Math.Abs(x)>0.5)
      {
        while(x>0.5)  x =  1-x;
        while(x<-0.5) x = -1-x;
      }
      while(Math.Abs(z)>0.5)
      {
        while(z>0.5)  z =  1-z;
        while(z<-0.5) z = -1-z;
      }
    double r=x*x+y*y+z*z;
    if(r>0)
    {
      x /= r;
      y /= r;
      z /= r;
      if(r<0.3) return false;
    }
    y=-y;
    x+= 0.02;
    y+= 1.9;
    z+= 0.5;
  }
  return true;
}
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Quaternion Julia Set and Mandelbox Mix 3D Fractal Generation trafassel 0 1483 Last post April 26, 2010, 07:59:05 PM
by trafassel
Spirals Again Mandelbulb3D Gallery trafassel 0 600 Last post January 14, 2012, 04:44:52 PM
by trafassel
Spirals in 3D Julia Set Images Showcase (Rate My Fractal) in4ur 0 926 Last post August 24, 2014, 07:14:44 PM
by in4ur
Mandelbox Julia + Rotations Images Showcase (Rate My Fractal) MichaelWGioffredi 0 799 Last post September 30, 2015, 03:41:27 AM
by MichaelWGioffredi
Some Mandelbox, Mandelbulb, and Julia fractals in my new video Movies Showcase (Rate My Movie) mcsoftware 0 661 Last post January 03, 2017, 07:31:49 PM
by mcsoftware

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.093 seconds with 26 queries. (Pretty URLs adds 0.006s, 2q)