trafassel
Fractal Bachius
Posts: 531
|
|
« Reply #15 on: May 13, 2010, 01:37:20 AM » |
|
Same color method; 10 iterations.
|
|
|
Logged
|
|
|
|
reesej2
Guest
|
|
« Reply #16 on: May 13, 2010, 01:56:13 AM » |
|
Wow, very nice! Looks amazing.
|
|
|
Logged
|
|
|
|
kram1032
|
|
« Reply #17 on: May 13, 2010, 11:11:46 AM » |
|
That looks pretty good
|
|
|
Logged
|
|
|
|
KRAFTWERK
|
|
« Reply #18 on: May 14, 2010, 10:40:08 AM » |
|
WOW, it looks like those fabrics which changes "metallic" colours due to the light angle.
Really amazing!
|
|
|
Logged
|
|
|
|
cbuchner1
|
|
« Reply #19 on: May 14, 2010, 11:23:46 AM » |
|
Soap bubble!
|
|
|
Logged
|
|
|
|
trafassel
Fractal Bachius
Posts: 531
|
|
« Reply #20 on: May 14, 2010, 12:09:48 PM » |
|
Color combination is given by (Gestaltlupe formula):
public override void Init() { base.Init(); additionalPointInfo=new AdditionalPointInfo(); gr1=GetDouble("Formula.Static.Cycles"); int tempGr=(int)gr1; gr1=gr1- tempGr; gr1=1-gr1; gr1*=2.4; }
double gr1=0;
public override long InSet(double ar, double ai, double aj, double br, double bi, double bj, double bk, long zkl, bool invers) { double aar, aai, aaj; long tw; int n; int pow = 8; // n=8 entspricht dem Mandelbulb double gr =Math.Pow(10,gr1)+1.0; // 10; // Ab diesem Wert liegt mit Sicherheit Nichtzugehörigkeit zur Menge vor. double theta, phi;
double r_n = 0; aar = ar * ar; aai = ai * ai; aaj = aj * aj; tw = 0L; double r = Math.Sqrt(aar + aai + aaj);
double phi_pow; double theta_pow; double sin_theta_pow; double rn_sin_theta_pow;
additionalPointInfo.red=0; additionalPointInfo.green=0; additionalPointInfo.blue=0;
double red=0; double green=0; double blue=0;
for (n = 1; n < zkl; n++) {
theta = Math.Atan2(Math.Sqrt(aar + aai), aj); phi = Math.Atan2(ai, ar); r_n = Math.Pow(r, pow);
phi_pow=phi*pow; theta_pow=theta*pow; sin_theta_pow=Math.Sin(theta_pow); rn_sin_theta_pow=r_n* sin_theta_pow;
ar = rn_sin_theta_pow * Math.Cos(phi_pow)+br; ai = rn_sin_theta_pow * Math.Sin(phi_pow)+bi; aj = r_n * Math.Cos(theta_pow)+bj;
aar = ar * ar; aai = ai * ai; aaj = aj * aj; r = Math.Sqrt(aar + aai + aaj);
if(n>2) { /* double arPos=ar; if(arPos<0) arPos=-ar; double aiPos=ai; if(aiPos<0) aiPos=-ai; double ajPos=aj; if(ajPos<0) ajPos=-aj; red+=Math.Abs(ar)/r; green+=Math.Abs(ai)/r; blue+=Math.Abs(aj)/r; */
if(ar>0) red+=ar/r; if(ai>0) green+=ai/r; if(aj>0) blue+=aj/r;
}
if (r > gr) { tw = n; break; }
}
additionalPointInfo.red=red; additionalPointInfo.green=green; additionalPointInfo.blue=blue;
if (invers) { if (tw == 0) tw = 1; else tw = 0; }
return (tw);
}
|
|
|
Logged
|
|
|
|
trafassel
Fractal Bachius
Posts: 531
|
|
« Reply #21 on: May 14, 2010, 12:12:40 PM » |
|
Colors on a flat surface.
|
|
|
Logged
|
|
|
|
kram1032
|
|
« Reply #22 on: May 14, 2010, 12:18:02 PM » |
|
also nice but obviously, the shape adds a lot to it.
|
|
|
Logged
|
|
|
|
trafassel
Fractal Bachius
Posts: 531
|
|
« Reply #23 on: May 21, 2010, 09:23:23 AM » |
|
I don't think so. It seems, as the color "knows" how the shape looks in higher iterations. And perhaps this is fundamental for all variants of the mandelbulb fractal.
|
|
« Last Edit: May 21, 2010, 09:35:28 PM by trafassel »
|
Logged
|
|
|
|
kram1032
|
|
« Reply #24 on: May 21, 2010, 11:50:49 AM » |
|
With adding a lot to it, I meant things like shadow. That colour pattern lacks of shadow. No wonder: Where should it come from?
|
|
|
Logged
|
|
|
|
trafassel
Fractal Bachius
Posts: 531
|
|
« Reply #25 on: June 01, 2010, 10:51:52 PM » |
|
Same picture as the spine in the gallery, but with post processing (Paint.Net).
|
|
|
Logged
|
|
|
|
kram1032
|
|
« Reply #26 on: June 03, 2010, 11:50:37 AM » |
|
nice A metallic soap bubble
|
|
|
Logged
|
|
|
|
trafassel
Fractal Bachius
Posts: 531
|
|
« Reply #27 on: June 05, 2010, 10:48:12 PM » |
|
Stereo image
|
|
|
Logged
|
|
|
|
kram1032
|
|
« Reply #28 on: June 06, 2010, 06:44:40 PM » |
|
hard to think of it as stereo with this arrangement But it looks very nice
|
|
|
Logged
|
|
|
|
cKleinhuis
|
|
« Reply #29 on: June 06, 2010, 07:20:01 PM » |
|
use CTRL - +/- to lower the zoom, to see it side by side
|
|
|
Logged
|
---
divide and conquer - iterate and rule - chaos is No random!
|
|
|
|