File:Pm1234 Ground.png

From testwiki
Jump to navigation Jump to search
    Original file (2,400 × 1,800 pixels, file size: 302 KB, MIME type: image/png)

    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: Terms and partial sums of 1 − 2 + 3 − 4 + · · · going out to the horizon.
    • The terms are indicated as black lines executing displacements to the camera's right, plus a constant displacement away from the camera.
    • The partial sums are where the terms end; they are indicated as black circles.
    • The action takes place on an infinite horizontal plane. The integers are located on the gray lines. The horizon is picked out by a bluish sky.
    • The camera type is rectangular perspective. Of course, it is placed over x equal 1/4 for symmetry.
    Português: Termos e somas parciais de 1 − 2 + 3 − 4 + · · · dirigem-se para o horizonte.
    • Os termos são indicados por linhas pretas executando deslocamentos à direita da câmara, mais um deslocamento constante para longe da câmara.
    • As somas parciais estão onde os termos terminam; elas estão indicadas por círculos pretos.
    • A ação ocorre sobre um plano horizontal infinito. Os números inteiros estão localizados sobre as linhas cinzas. O horizonte é reconhecido por um céu azulado.
    • O tipo da câmara é de perspectiva retangular. Claro que, é colocado sobre x igual a 1/4 para a simetria.
    Date
    Source Self-made by user in Povray. See source code below.
    Author user:Melchoir

    POV-Ray source code

    Pm1234_Ground.pov
    camera { 
    	location <.25, 4, -4.5>
    	up y*image_height right x*image_width angle 65 look_at <.25, 0, 10>
    }
    background { rgb 1 }
    
    #declare an = 0;
    #declare sn = 0;
    #declare snn = 0;
    union {
    	#declare n=1;
    	#while (n<15000)
    		#declare an = n * pow(-1, n+1);
    		#declare snn = sn;
    		#declare sn = sn + an;
    		cylinder { 0, z*sqrt(1+an*an), .1 scale <1, 0.3/sqrt(n), 1>
    			rotate y*degrees(atan(an)) translate <snn, 0, n>
    		}
    		sphere { <snn, 0, n>, .2 scale <1, 0.3/sqrt(n), 1> }
    		#declare n=n+1;
    	#end
    	pigment { color rgb 0 }
    }
    
    intersection {
    	plane { y, .01/(n*n) pigment { color rgb 0 } }
    	plane { -z, -n  }
    	plane { -x, 0 rotate y*-degrees (atan (.5)) translate <0, 0, 1> }
    	plane { x, 0 rotate y*degrees (atan (.5)) translate <1, 0, 2> }
    	pigment { color rgbt 1 }
    }
    
    plane {
    	y, 0
    	pigment {
    		gradient x
    		color_map { 
    			[0 rgbt .5]
    			[0.024 rgbt .5]
    			[0.025 rgbt 1]
    			[0.975 rgbt 1]
    			[0.976 rgbt .5]
    			[1 rgbt .5]
          }
    	}
    }
    plane { -y, -5 pigment { color rgbf <.9, .9, 1, .9> } }
    

    Warning: this scene requires a lot of antialiasing, and it is slow.

    Licensing

    I, the copyright holder of this work, hereby publish it under the following licenses:
    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.
    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.
    w:en:Creative Commons
    attribution share alike
    This file is licensed under the Creative Commons Attribution-Share Alike 2.5 Generic, 2.0 Generic and 1.0 Generic license.
    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.
    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

    5 March 2007

    image/png

    309,529 byte

    1,800 pixel

    2,400 pixel

    4e1a9914aa709a11f25db21b4ef61ea3ae6a76b2

    File history

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

    Date/TimeThumbnailDimensionsUserComment
    current03:37, 15 April 2007Thumbnail for version as of 03:37, 15 April 20072,400 × 1,800 (302 KB)wikimediacommons>NorthgroveRevised version for a smaller file size and no perceptible quality change. (bit depth change and higher PNG compression)

    There are no pages that use this file.