Logo by S Nelson - 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: Visit the official fractalforums.com Youtube Channel
 
*
Welcome, Guest. Please login or register. June 13, 2021, 01:00:57 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: The Start of Everything  (Read 511 times)
0 Members and 1 Guest are viewing this topic.
trafassel
Fractal Bachius
*
Posts: 531


trafassel
« on: November 09, 2016, 10:28:34 PM »

The Start of Everything



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

double x=0;double y=0;double z=0;double _yd=1;double _anglex=0;double _angley=0;double _anglez=0;double _scale=1.5;double _size=0.1;double _bailout=5;bool _box=true;public override void Init(){base.Init();if(GetString(\"intern.Formula.TempUpdateVal\")!=\"e5053cdfd33f361a712241759519b5ab\"){SetParameterBulk(\"Formula.Parameters: anglex=22.5 angley=0 anglez=0 bailout=12 box=0 scale=1.4 size=0.4 yd=1 Formula.Static: Cycles=44 Julia=1 jx=0 jy=0 jz=0 Scene: CenterX=-1.35894044903553 CenterY=-0.70061135886748 CenterZ=-0.584705054298299 Radius=2.18571279892118 Transformation.Camera: AngleX=-0.409855217034559 AngleY=-23.3916795219528 AngleZ=112.925482270802 IsometricProjection=0 Position=1 intern.Formula: TempUpdateVal=e5053cdfd33f361a712241759519b5ab\");}if(GetString(\"intern.Formula.TempUpdateVal\")!=\"c474d2f4c5974c6863055df0ecdc78bf\"){SetParameterBulk(\"Formula.Parameters: anglex=22.5 angley=0 anglez=0 bailout=12 box=1 scale=1.25 size=0.5 yd=1 Formula.Static: Cycles=55 Julia=1 jx=0 jy=0 jz=0 Scene: CenterX=-1.31205445279311 CenterY=-0.821247287171884 CenterZ=-0.563560273849805 Radius=3.77691171653579 Transformation.Camera: AngleX=-0.409855217034559 AngleY=-23.3916795219528 AngleZ=112.925482270802 IsometricProjection=0 Position=1 intern.Formula: TempUpdateVal=c474d2f4c5974c6863055df0ecdc78bf\");}_yd=GetOrSetDouble(\"yd\",1);_anglex=Math.PI*GetOrSetDouble(\"anglex\",0)/180.0;_angley=Math.PI*GetOrSetDouble(\"angley\",0)/180.0;_anglez=Math.PI*GetOrSetDouble(\"anglez\",0)/180.0;_size=GetOrSetDouble(\"size\",0.1);_bailout=GetOrSetDouble(\"bailout\",5);_scale=GetOrSetDouble(\"scale\",1.5);_box=GetOrSetBool(\"box\",false);}public override bool GetBool(double x,double y,double z){this.x=x;this.y=y;this.z=z;return GetBool(_cycles);}public bool GetBool(int cycles){if(cycles<=0)return true;x+=_jx;y+=_jy;z+=_jz;double r=x*x+y*y+z*z;if(r>_bailout)return false;if(InSet()){additionalPointInfo.red=0.5;additionalPointInfo.green=0.5;additionalPointInfo.blue=3+0.3*(cycles-_cycles);if(additionalPointInfo.blue<0)additionalPointInfo.blue=0;if(cycles<40){additionalPointInfo.red=40/cycles;additionalPointInfo.green=1-40/cycles;additionalPointInfo.blue=0;}return true;}Scale(_scale);if(_anglex!=0)RotateX(_anglex);if(_angley!=0)RotateY(_angley);if(_anglez!=0)RotateZ(_anglez);double x1=x;double y1=y;double z1=z;y+=_yd;if(GetBool(cycles-1))return true;x=x1;y=y1;z=z1;y-=_yd;if(GetBool(cycles-1))return true;x=x1;y=y1;z=z1;return false;}bool InSet(){if(_box)return InBox();return InSphere();}bool InBox(){if(x*x>_size)return false;if(y*y>_size)return false;if(z*z>_size)return false;return true;}bool InSphere(){if(x*x+y*y+z*z>_size)return false;return true;}void Scale(double scale){x*=scale;y*=scale;z*=scale;}void RotateX(double angle){double re=Math.Cos(angle );double im=Math.Sin(angle );double a=re * y-im * z;z=re * z+im * y;y=a;}void RotateY(double angle){double re=Math.Cos(angle );double im=Math.Sin(angle );double a=re * x-im * z;z=re * z+im * x;x=a;}void RotateZ(double angle){double re=Math.Cos(angle );double im=Math.Sin(angle );double a=re * x-im * y;y=re * y+im * x;x=a;}
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Tag Game Round #5 - The Start TAG Games cKleinhuis 2 1277 Last post June 13, 2010, 02:05:22 AM
by cKleinhuis
Where to start? Introduction to Fractals and Related Links alemke 1 1843 Last post March 27, 2011, 10:39:18 PM
by cKleinhuis
How to Start Gestaltlupe trafassel 5 4233 Last post September 01, 2012, 04:19:25 AM
by mfg
Start the dance JWildfire Gallery thargor6 0 519 Last post April 19, 2014, 11:18:26 PM
by thargor6
start picture Help & Support Terry50 3 252 Last post March 21, 2017, 10:30:34 AM
by Sockratease

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