Image:Pyramid of 35 spheres animation original.gif

From Wikipedia, the free encyclopedia

Wikimedia Commons logo This is a file from the Wikimedia Commons. The description on its description page there is shown below.
Commons is a freely licensed media file repository. You can help.


GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation license, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation license".

Aragonés | العربية | Asturianu | Български | বাংলা | ইমার ঠার/বিষ্ণুপ্রিয়া মণিপুরী | Brezhoneg | Bosanski | Català | Cebuano | Česky | Dansk | Deutsch | Ελληνικά | English | Esperanto | Español | Eesti | Euskara | فارسی | Suomi | Français | Gaeilge | Galego | עברית | Hrvatski | Magyar | Bahasa Indonesia | Ido | Íslenska | Italiano | 日本語 | ქართული | ភាសាខ្មែរ | 한국어 | Kurdî / كوردی | Latina | Lëtzebuergesch | Lietuvių | Bahasa Melayu | Nnapulitano | Nederlands | ‪Norsk (nynorsk)‬ | ‪Norsk (bokmål)‬ | Occitan | Polski | Português | Română | Русский | Slovenčina | Slovenščina | Shqip | Српски / Srpski | Svenska | తెలుగు | ไทย | Türkçe | Українська | اردو | Tiếng Việt | Volapük | Yorùbá | ‪中文(中国大陆)‬ | ‪中文(台灣)‬ | +/-

[edit] POV-Ray source

 // Pyramid of 35 spheres POV-Ray source by Blotwell
 // Uploaded to Wikimedia Commons
 // and released under GPL
 //
 // Render frames 0 through 23 (24 is identical to 0)
 
 #max_trace_level 15
 #declare sq = 1/sqrt(2);
 #declare vx = <2,0,0>;
 #declare vy = <1,0,sqrt(3)>;
 #declare vz = <1,sqrt(8/3),sqrt(1/3)>;
 
 #declare my_sphere_1 =
 sphere { <0,1,0>,1 pigment { color rgbf <.9,1,.9,.9> }
       finish { refraction 1 ior 1.2 } };
 #declare my_sphere_2 =
 sphere { <0,1,0>+vz,1 pigment { color rgbf <.9,.9,1,.9> }
       finish { refraction 1 ior 1.2 } };
 #declare my_sphere_3 =
 sphere { <0,1,0>+vz+vz,1 pigment { color rgbf <1,1,.8,.9> }
       finish { refraction 1 ior 1.2 } };
 #declare my_sphere_4 =
 sphere { <0,1,0>+vz+vz+vz,1 pigment { color rgbf <1,.9,.9,.9> }
       finish { refraction 1 ior 1.2 } };
 #declare my_sphere_5 =
 sphere { <0,1,0>+vz+vz+vz+vz,1 pigment { color rgbf <.9,.9,.9,.9> }
       finish { refraction 1 ior 1.2 } };
 
 camera {
   location <-15,11,-12>
   right <2/3,0,0>
   up <0,1/2,0>
   look_at 4*vz-<0,3,0>
 }
 
 light_source {vx*10+<0,10,0> color rgb <1,1,1>}
 light_source {vy*10+<0,10,0> color rgb <1,1,1>}
 
 plane { <0,1,0>, 0
        finish {ambient 0.2}
        pigment { marble turbulence 1
                color_map { [0.0 rgb 1] [0.9 rgb 0.9] [1.0 rgb <0.6,0.5,0.5>] }
                scale 6 } }
 
 plane { <0,-1,0>, -12
        finish {ambient 1}
        pigment { color rgb <.6,.6,.8> } }
 
 union {
 object { my_sphere_1 translate 0 }
 object { my_sphere_1 translate vx }
 object { my_sphere_1 translate vy }
 object { my_sphere_1 translate vx+vx }
 object { my_sphere_1 translate vx+vy }
 object { my_sphere_1 translate vy+vy }
 object { my_sphere_1 translate vx+vx+vx }
 object { my_sphere_1 translate vx+vx+vy }
 object { my_sphere_1 translate vx+vy+vy }
 object { my_sphere_1 translate vy+vy+vy }
 object { my_sphere_1 translate vx+vx+vx+vx }
 object { my_sphere_1 translate vx+vx+vx+vy }
 object { my_sphere_1 translate vx+vx+vy+vy }
 object { my_sphere_1 translate vx+vy+vy+vy }
 object { my_sphere_1 translate vy+vy+vy+vy }
 
 object { my_sphere_2 translate 0 }
 object { my_sphere_2 translate vx }
 object { my_sphere_2 translate vy }
 object { my_sphere_2 translate vx+vx }
 object { my_sphere_2 translate vx+vy }
 object { my_sphere_2 translate vy+vy }
 object { my_sphere_2 translate vx+vx+vx }
 object { my_sphere_2 translate vx+vx+vy }
 object { my_sphere_2 translate vx+vy+vy }
 object { my_sphere_2 translate vy+vy+vy }
 
 object { my_sphere_3 translate 0 }
 object { my_sphere_3 translate vx }
 object { my_sphere_3 translate vy }
 object { my_sphere_3 translate vx+vx }
 object { my_sphere_3 translate vx+vy }
 object { my_sphere_3 translate vy+vy }
 
 object { my_sphere_4 translate 0 }
 object { my_sphere_4 translate vx }
 object { my_sphere_4 translate vy }
 
 object { my_sphere_5 translate 0 }
 translate -4*vz
 rotate <0,clock*5,0>
 translate 4*vz
 }
GNU head This work is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version. This work is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See version 2 and version 3 of the GNU General Public License for more details.

العربية | Català | Česky | Deutsch | Ελληνικά | English | Español | فارسی | Français | Italiano | 日本語 | Nederlands | Polski | Português | Русский | Slovenčina | Svenska | Türkçe | ‪中文(简体)‬ | ‪中文(繁體)‬ | +/-

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current07:22, 27 August 2005640×480 (1.97 MB)Blotwell (Largest version of Image:Pyramid of 35 spheres animation.gif {{GFDL}})
The following pages on the English Wikipedia link to this file (pages on other projects are not listed):