Logo by Sockratease - Contribute your own Logo!


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. December 07, 2022, 06:38:18 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
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 627 times)
0 Members and 1 Guest are viewing this topic.
Posts: 173

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

High energy bulb physics


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();
Pages: [1]   Go Down
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 2163 Last post October 02, 2010, 08:17:57 PM
by bib
Scientific philosophy and meta physics Philosophy jehovajah 5 2695 Last post October 16, 2010, 05:33:36 PM
by Bent-Winged Angel
Mandelbulb in physics book Fractal News across the World Tglad 1 878 Last post November 12, 2012, 08:48:04 AM
Greetings! I love math and physics and fractals! Meet & Greet Jonnyb42 2 897 Last post September 03, 2013, 01:52:58 AM
by Nahee_Enterprises
Physics - the geometry of space General Discussion youhn 5 675 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.164 seconds with 29 queries. (Pretty URLs adds 0.005s, 2q)