The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!
|
|
High energy bulb physics | ||||||
Previous Image | Next Image | ||||||
Description: 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; } Stats: Total Favorities: 0 View Who Favorited Filesize: 285.8kB Height: 896 Width: 1200 Discussion Topic: View Topic Posted by: fractower April 04, 2011, 09:35:59 PM Rating: by 1 members. Image Linking Codes
|
||||||
0 Members and 1 Guest are viewing this picture. |
|
Comments (0) |
Powered by SMF Gallery Pro