File:Pentatope of 70 spheres animation original.gif

From testwiki
Jump to navigation Jump to search
Pentatope_of_70_spheres_animation_original.gif (640 × 480 pixels, file size: 2.63 MB, MIME type: image/gif, looped, 44 frames, 4.4 s)
Note: Due to technical limitations, thumbnails of high resolution GIF images such as this one will not be animated.

This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

Summary

Description
English: Pentatope of 70 spheres. Animation showing 4-dimensional balls stacked into a 4-dimensional pyramid (5×5×5×5), animated through successive 3-dimensional cross-sections.
Animated GIF (640×480 pixels, 2752828 bytes). Original size
Date
Source Own work
Author Blotwell
Other versions Derivative works of this file:  Pentatope 70 spheres.gif
POV-Ray source
InfoField
  // Pentatope of 70 spheres POV-Ray source by Blotwell
  // Uploaded to Wikimedia Commons
  // and released under GPL
  //
  // Render frames 0 through 43 (43 is blank)
  
  #max_trace_level 15
  #declare sq = 1/sqrt(2);
  #declare T = ((clock-5)/4)*sq;
  #declare vx = <2,0,0>;
  #declare vy = <1,0,1>;
  #declare vw = <1,0,-1>;
  #declare vz = <1,sqrt(5/2),0>;
  
  #declare my_sphere_1 =
  sphere { <0,0,0>,1 pigment { color rgbf <.9,1,.9,.9> }
        finish { refraction 1 ior 1.2 } };
  #declare my_sphere_2 =
  sphere { <0,0,0>,1 pigment { color rgbf <.9,.9,1,.9> }
        finish { refraction 1 ior 1.2 } };
  #declare my_sphere_3 =
  sphere { <0,0,0>,1 pigment { color rgbf <1,1,.8,.9> }
        finish { refraction 1 ior 1.2 } };
  #declare my_sphere_4 =
  sphere { <0,0,0>,1 pigment { color rgbf <1,.9,.9,.9> }
        finish { refraction 1 ior 1.2 } };
  #declare my_sphere_5 =
  sphere { <0,0,0>,1 pigment { color rgbf <.9,.9,.9,.9> }
        finish { refraction 1 ior 1.2 } };
  
  camera {
    location <-8,15,-12>-4*vz
    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 {
  #declare www=0; #while (www<5)
  #declare exe=0; #while (exe<5-www)
  #declare wye=0; #while (wye<5-www-exe)
  #declare tee=(www+wye)*sq*2; #if (tee-1<T) #if (tee+1>T)
  object {my_sphere_1 scale sqrt(1-(T-tee)*(T-tee)) translate y+www*vw+exe*vx+wye*vy}
  #end #end
  #declare wye=wye+1; #end #declare exe=exe+1; #end #declare www=www+1; #end
  
  #declare www=0; #while (www<4)
  #declare exe=0; #while (exe<4-www)
  #declare wye=0; #while (wye<4-www-exe)
  #declare tee=(www+wye)*sq*2+sq; #if (tee-1<T) #if (tee+1>T)
  object {my_sphere_2 scale sqrt(1-(T-tee)*(T-tee)) translate y+vz+www*vw+exe*vx+wye*vy}
  #end #end
  #declare wye=wye+1; #end #declare exe=exe+1; #end #declare www=www+1; #end
  
  #declare www=0; #while (www<3)
  #declare exe=0; #while (exe<3-www)
  #declare wye=0; #while (wye<3-www-exe)
  #declare tee=(www+wye)*sq*2+2*sq; #if (tee-1<T) #if (tee+1>T)
  object {my_sphere_3 scale sqrt(1-(T-tee)*(T-tee)) translate y+2*vz+www*vw+exe*vx+wye*vy}
  #end #end
  #declare wye=wye+1; #end #declare exe=exe+1; #end #declare www=www+1; #end
  
  #declare www=0; #while (www<2)
  #declare exe=0; #while (exe<2-www)
  #declare wye=0; #while (wye<2-www-exe)
  #declare tee=(www+wye)*sq*2+3*sq; #if (tee-1<T) #if (tee+1>T)
  object {my_sphere_4 scale sqrt(1-(T-tee)*(T-tee)) translate y+3*vz+www*vw+exe*vx+wye*vy}
  #end #end
  #declare wye=wye+1; #end #declare exe=exe+1; #end #declare www=www+1; #end
  
  #declare www=0; #while (www<1)
  #declare exe=0; #while (exe<1-www)
  #declare wye=0; #while (wye<1-www-exe)
  #declare tee=(www+wye)*sq*2+4*sq; #if (tee-1<T) #if (tee+1>T)
  object {my_sphere_5 scale sqrt(1-(T-tee)*(T-tee)) translate y+4*vz+www*vw+exe*vx+wye*vy}
  #end #end
  #declare wye=wye+1; #end #declare exe=exe+1; #end #declare www=www+1; #end
  }
GIF development
InfoField
 This image was created with POV-Ray.
 and with Adobe ImageReady.

Licensing

Blotwell, the copyright holder of this work, hereby publishes it under the following licenses:

© Blotwell

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.

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.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
Attribution:
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
This licensing tag was added to this file as part of the GFDL licensing update.
You may select the license of your choice.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

27 August 2005

image/gif

File history

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

Date/TimeThumbnailDimensionsUserComment
current15:18, 6 November 2009Thumbnail for version as of 15:18, 6 November 2009640 × 480 (2.63 MB)wikimediacommons>DatumizerReverted to version as of 07:23, 27 August 2005 ... I'll upload the new version as a separate file.