Logo by Pauldelbrot - 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. October 04, 2022, 09:35:02 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]   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: High energy bulb physics  (Read 612 times)
0 Members and 1 Guest are viewing this topic.
fractower
Iterator
*
Posts: 173


« on: April 04, 2011, 09:35:59 PM »

High energy bulb physics



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

High energy collision of two 7th order mandelbulbs.

This was intended to be a smooth hybridization of two bulbs. While kind of interesting I am not quite there.


mandelbulber 0.97 hack
         case trig:
         {
                 // offset and rototate bulb 1
                 CVector3 p1(.5,0,0);
                 CVector3 z1 = z - p1;
            double temp = z1.x;
            z1.x = z1.z;
            z1.z = -temp;
            double r1 = z1.Length();
            double rp1 = pow(r1, p);
            double th1 = z1.GetAlfa();
            double ph1 = -z1.GetBeta();
            CVector3 rot1(p * th1, p * ph1);
            z1 = rot1 * rp1;
            temp = z1.x;
            z1.x = -z1.z;
            z1.z = temp;
            z1 += constant;

            // offset bulb2
                 CVector3 p2(-.5,0,0);
                 CVector3 z2 = z - p2;
            double r2 = z2.Length();
            double rp2 = pow(r2, p);
            double th2 = z2.GetAlfa();
            double ph2 = -z2.GetBeta();
            CVector3 rot2(p * th2, p * ph2);
            z2 = rot2 * rp2 + constant;

            // calculate zone of influence for each bulb
            r1 = (p1-constant).Dot(p1-constant);
            rp1 = pow(r1, p);

            r2 = (p2-constant).Dot(p2-constant);
            rp2 = pow(r2, p);

            // Smash bulbs together.
            z = (z1*rp2*r2 + z2*rp1*r1)* (1.0/(rp1*r1+rp2*r2)) + z * r1 * r2*.005;
            r = z.Length();
            break;
         }
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
A spoonful of a neutron star - for physics nerds Non-Fractal related Chit-Chat aluminumstudios 13 2131 Last post October 02, 2010, 08:17:57 PM
by bib
Scientific philosophy and meta physics Philosophy jehovajah 5 2684 Last post October 16, 2010, 05:33:36 PM
by Bent-Winged Angel
Mandelbulb in physics book Fractal News across the World Tglad 1 869 Last post November 12, 2012, 08:48:04 AM
by KRAFTWERK
Greetings! I love math and physics and fractals! Meet & Greet Jonnyb42 2 881 Last post September 03, 2013, 01:52:58 AM
by Nahee_Enterprises
Physics - the geometry of space General Discussion youhn 5 661 Last post January 30, 2017, 06:17:29 AM
by anomalous howard

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