From Fractals and Cellular Automata to Biology: Information as Order Hidden Within Chance by Alberto Strumia
Author:Alberto Strumia
Language: eng
Format: epub
Publisher: World Scientific Publishing Co. Pte. Ltd.
Published: 2020-08-15T00:00:00+00:00
Fig. 5.4 - POV 3.7 3D Mandelbrot set with cylindrical symmetry (two different glass renderings)
POV-Ray 3.7 code to generate figs. 5.3 and 5.4
//=================================== // Mandelbrot 3D set as a whole // (POV-Ray cylindrical symmetry) //=================================== #include "colors.inc" // Standard Color definitions #include "glass.inc" // Glass pigment effect #include "metals.inc" // Metal pigment effect global_settings {assumed_gamma 1.0} // set display gamma background { color rgb <0.0,0.0,0.0> } // set black background camera { // set view point (camera) location location <-20, 20, -300> look_at <-5, 0, 0> } light_source { // set point light sources location < -3.0, 10, -5> rgb <1.000000, 1.000000, 1.000000> * 2.0 // set white light color and intensity } light_source { < 5.0, 10, -10> rgb <1.000000, 1.000000, 1.000000> * 2.0 } #declare R = .1; // set radius value #declare L = 2; // set square area side #declare X = 0; // set co-ordinate x initial value #declare Y = 0; // set co-ordinate y initial value #declare Z = 0; // set co-ordinate z initial value #declare n = 200; // set number of pixels per area side #declare N = 10; // set number of cycles #declare Nr = 100; // alternative Nr = 20; // set number of sections #declare Th = -45; #declare Ph = 30; union{ #for (p, -n, n, 1) #for (q, -n, n, 1) #declare X = 0; #declare Y = 0; #for (i,1,N) #declare XX = X*X - Y*Y + p*L/n - 1; #declare YY = 2*X*Y + q*L/n; #declare X = XX; #declare Y = YY; #if (X*X+Y*Y > R) #if (X*X+Y*Y < R+.01) #for (k,0,Nr) // replace Nr by Nr*clock for animation sphere { < p, q*cos(3.14*k/Nr), q*sin(3.14*k/Nr) >, 1 texture { pigment { color Col_Glass_Yellow } // alternative pigment { color Col_Glass_Old } } finish { ambient rgb <0.3,0.1,0.1> diffuse .3 reflection .3 specular 1 } } #end // end if #end // end if #end // end for k #end // end for i #end // end for q #end // end for p rotate < 0, Th, Ph >}
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8309)
Test-Driven Development with Java by Alan Mellor(6777)
Data Augmentation with Python by Duc Haba(6694)
Principles of Data Fabric by Sonia Mezzetta(6439)
Learn Blender Simulations the Right Way by Stephen Pearson(6340)
Microservices with Spring Boot 3 and Spring Cloud by Magnus Larsson(6213)
Hadoop in Practice by Alex Holmes(5965)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5813)
RPA Solution Architect's Handbook by Sachin Sahgal(5610)
Big Data Analysis with Python by Ivan Marin(5389)
The Infinite Retina by Robert Scoble Irena Cronin(5302)
Life 3.0: Being Human in the Age of Artificial Intelligence by Tegmark Max(5155)
Pretrain Vision and Large Language Models in Python by Emily Webber(4354)
Infrastructure as Code for Beginners by Russ McKendrick(4118)
Functional Programming in JavaScript by Mantyla Dan(4042)
The Age of Surveillance Capitalism by Shoshana Zuboff(3961)
WordPress Plugin Development Cookbook by Yannick Lefebvre(3834)
Embracing Microservices Design by Ovais Mehboob Ahmed Khan Nabil Siddiqui and Timothy Oleson(3633)
Applied Machine Learning for Healthcare and Life Sciences Using AWS by Ujjwal Ratan(3607)
