File:Tesseract tetrahedron shadow.png

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(2,048 × 2,048 pixels, file size: 223 KB, MIME type: image/png)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

Description

Tesseract central projection from vertex 0000 gives a 3-dimensional shadow, with a tetrahedral convex hull.

 
This image was created with POV-Ray.
Source Own work
Author
Watchduck
You can name the author as "T. Piesk", "Tilman Piesk" or "Watchduck".
Other versions

Licensing[edit]

I, the copyright holder of this work, hereby publish it under the following licenses:
w:en:Creative Commons
attribution
This file is licensed under the Creative Commons Attribution 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.
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.
You may select the license of your choice.


POV-Ray source[edit]

#include "colors.inc"  

global_settings{max_trace_level 20}
 
background {color White}                                           
 
camera { angle 3.3
        location <1000,1000,1000>
        look_at  <-6,10,6>  
        up    < 0, 1, 0>
        right   < 1, 0, 0>
       }
 
light_source { <100,90,120>
               color Gray
               shadowless
             }   
 
light_source { <50,70,90>
               color Gray
               shadowless
             }  
             
light_source { <0,0,-500>
               color Gray
               shadowless
             }     
                    
                    
// DEFINE RADII
// black vertices        
#declare vertex1 = 2.9   ; 
#declare vertex2 = 2.1 ;
#declare vertex3 = 1.3   ;
#declare vertex4 = 0.5 ;   
// black edges
#declare edge1 = 0.6 ; 
#declare edge2 = 0.45 ;
#declare edge3 = 0.3 ;
#declare edge4 = 0.15 ;  
                          
                          
// DEFINE COORDINATES                 
// weight 1                
#declare c01 = < 30, 30, 30> ;  
#declare c02 = < 30,-30,-30> ;  
#declare c04 = <-30,-30, 30> ;  
#declare c08 = <-30, 30,-30> ; 
// weight 2
#declare c03 = < 30,  0,  0> ;  
#declare c05 = <  0,  0, 30> ;  
#declare c06 = <  0,-30,  0> ;  
#declare c09 = <  0, 30,  0> ;  
#declare c10 = <  0,  0,-30> ;  
#declare c12 = <-30,  0,  0> ;  
// weight 3
#declare c07 = < 10,-10, 10> ;  
#declare c11 = < 10, 10,-10> ; 
#declare c13 = <-10, 10, 10> ; 
#declare c14 = <-10,-10,-10> ; 
// weight 4
#declare c15 = <  0,  0,  0> ;   

#declare vertex = 3.5 ;  
#declare edge = 1 ;     
 
                              
union  // whole image
{              

        union  // skelethon     
        {                       
                
                sphere{ c01, vertex1 }
                sphere{ c02, vertex1 }  
                sphere{ c04, vertex1 } 
                sphere{ c08, vertex1 } 
        
                sphere{ c03, vertex2 } 
                sphere{ c05, vertex2 }  
                sphere{ c06, vertex2 }
                sphere{ c09, vertex2 }
                sphere{ c10, vertex2 }  
                sphere{ c12, vertex2 }  
        
                sphere{ c07, vertex3 }   
                sphere{ c11, vertex3 } 
                sphere{ c13, vertex3 }  
                sphere{ c14, vertex3 }  
        
                sphere{ c15, vertex4 }    
        
                cone{ c01, edge1, c03, edge2 }   
                cone{ c01, edge1, c05, edge2 } 
                cone{ c01, edge1, c09, edge2 } 
                cone{ c02, edge1, c03, edge2 } 
                cone{ c02, edge1, c06, edge2 } 
                cone{ c02, edge1, c10, edge2 } 
                cone{ c04, edge1, c05, edge2 } 
                cone{ c04, edge1, c06, edge2 } 
                cone{ c04, edge1, c12, edge2 } 
                cone{ c08, edge1, c09, edge2 } 
                cone{ c08, edge1, c10, edge2 } 
                cone{ c08, edge1, c12, edge2 }      
   
                
                cone{ c03, edge2, c07, edge3 }   
                cone{ c05, edge2, c07, edge3 }  
                cone{ c06, edge2, c07, edge3 }   
                cone{ c03, edge2, c11, edge3 }   
                cone{ c09, edge2, c11, edge3 }   
                cone{ c10, edge2, c11, edge3 }   
                cone{ c05, edge2, c13, edge3 }  
                cone{ c09, edge2, c13, edge3 }  
                cone{ c12, edge2, c13, edge3 }  
                cone{ c06, edge2, c14, edge3 }  
                cone{ c10, edge2, c14, edge3 }   
                cone{ c12, edge2, c14, edge3 }    
                
                cone{ c07, edge3, c15, edge4 }   
                cone{ c11, edge3, c15, edge4 } 
                cone{ c13, edge3, c15, edge4 } 
                cone{ c14, edge3, c15, edge4 }
                
                pigment{color rgb<0.8,0.8,0.8,>}   
        }       
                 
                 
        #declare textrot = <60,-148,30> ;
        #declare textscale1 = 6.5 ;
        #declare textscale2 = 5 ;
        #declare textscale3 = 3.5 ;
        #declare textscale4 = 2 ;
                        
        union 
        {          

                text {   ttf "timrom.ttf" "1"  0.1, 0 transform{ rotate textrot scale textscale1 translate c01 }   } 
                text {   ttf "timrom.ttf" "2"  0.1, 0 transform{ rotate textrot scale textscale1 translate c02 }   } 
                text {   ttf "timrom.ttf" "4"  0.1, 0 transform{ rotate textrot scale textscale1 translate c04 }   } 
                text {   ttf "timrom.ttf" "8"  0.1, 0 transform{ rotate textrot scale textscale1 translate c08 }   } 
                
                text {   ttf "timrom.ttf" "3"  0.1, 0 transform{ rotate textrot scale textscale2 translate c03 }   }   
                text {   ttf "timrom.ttf" "5"  0.1, 0 transform{ rotate textrot scale textscale2 translate c05 }   }
                text {   ttf "timrom.ttf" "6"  0.1, 0 transform{ rotate textrot scale textscale2 translate c06 }   }
                text {   ttf "timrom.ttf" "9"  0.1, 0 transform{ rotate textrot scale textscale2 translate c09 }   }
                text {   ttf "timrom.ttf" "10" 0.1, 0 transform{ rotate textrot scale textscale2 translate c10 }   }
                text {   ttf "timrom.ttf" "12" 0.1, 0 transform{ rotate textrot scale textscale2 translate c12 }   }  
                
                text {   ttf "timrom.ttf" "7"  0.1, 0 transform{ rotate textrot scale textscale3 translate c07 translate <2,0,-1> }   }
                text {   ttf "timrom.ttf" "11" 0.1, 0 transform{ rotate textrot scale textscale3 translate c11 translate <0,3,0> }   }
                text {   ttf "timrom.ttf" "13" 0.1, 0 transform{ rotate textrot scale textscale3 translate c13 translate <0,3,0> }   }
                text {   ttf "timrom.ttf" "14" 0.1, 0 transform{ rotate textrot scale textscale3 translate c14 translate <0,3,0> }   }
                
                text {   ttf "timrom.ttf" "15" 0.1, 0 transform{ rotate textrot scale textscale4 translate 5*y }   }
                          
                transform{ translate <-0.5,7,9> }                                      
                
                pigment{ color rgbt<0,0,0,0.9> }
        }          

        rotate -35*z  
        rotate 18*x    
        rotate 5*y    
            
}

File history

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

Date/TimeThumbnailDimensionsUserComment
current09:53, 7 July 2015Thumbnail for version as of 09:53, 7 July 20152,048 × 2,048 (223 KB)Cmdrjameson (talk | contribs)Compressed with pngout. Reduced by 167kB (42% decrease).
18:46, 21 November 2012Thumbnail for version as of 18:46, 21 November 20122,048 × 2,048 (390 KB)Watchduck (talk | contribs)transparent background
18:44, 21 November 2012Thumbnail for version as of 18:44, 21 November 20122,048 × 2,048 (370 KB)Watchduck (talk | contribs)details
18:10, 21 November 2012Thumbnail for version as of 18:10, 21 November 20122,048 × 2,048 (394 KB)Watchduck (talk | contribs){{Information |Description ={{en|1=Tesseract central projection from vertex 0000 gives a 3-dimensional shadow, with a tetrahedral convex hull.}} |Source ={{own}} |Author =Lipedia |Da...