File:Vortex in space 1.png

Original file(3,200 × 2,400 pixels, file size: 6.55 MB, MIME type: image/png)

Captions

Captions

Vortex in space

Summary

edit
Description
English: Vortex in space
Date
Source Own work
Author Merikanto

Povray 3.7 source code

// // vortex in space //

// povray 3.7 src

// 7.5.2012 0000.0000.00

  1. include "colors.inc"
  2. include "textures.inc"
  3. include "skies.inc"
  4. include "stones.inc"


camera {

   location <0,1000,500>*1.4
   look_at <0,-500,0>
   up y     
   angle 30

}



light_source {

<0,100,0> color rgb Red

}


  1. include "stars.inc"

sphere{ <0,0,0>, 1

       texture{ Starfield1 scale 0.01
              } // end of texture
       scale 10000
     }    
  
  
  

object {


// wormhole
  
  sor {
   21,
  #for (n,1,20)
     #declare p=100/(n*1.0);
     #declare q=n*1.0*-1;
     <p,n>,
  #end
    
   <10000,10000000.0> 
     open 
  }
  
    
    
    
   
 


  texture{


        pigment {  
         
          
          
          average 
         
         pigment_map  
         {
         
         [1.0
          
          onion
       
          
          


#declare mm = 0.0; #declare nn = 1.0;

#declare deltamm=0.01;


            color_map {
           #while(mm <= 1.0)
       
 
             
  
            #declare ex1=(1/exp(mm*10))*15;
              
          #declare rr=ex1;
         //  #declare rr=nn;
             
           #declare cc=<rr*2,rr/2,rr/2,nn>*1;   
   
   
    
             
           [mm rgbt cc]
           #declare mm=mm+deltamm;  
           #declare nn=nn-deltamm;
     
    
   
           #end        
           
           }




      //  translate y*0.5        
         
        scale 10.1
          
         // color rgb White
          
          ]
          
          [
          2.0
           
         //  pigment {
           spiral1  20 
           sine_wave 
           turbulence 0.15
           lambda 2
           omega 0.8
            
             octaves 50
             
             color_map
             {
               [0 color rgbt <0,0,0,1>/40]
               [1 color rgbt <2,1,1,0>/40]
             
             } 
              
              
           
             
           
          ]
          
          
         // }
          
          
          } // pigment_map
          
          
          
           
        }  // ... pigment
 
          
          
          
          
          
          
          
         /*         
        
        normal {
        
        
           spiral1  20 
           sine_wave    
          turbulence 0.2 
        //  rotate<90,0,0>
        //   scale <0.25,0.5,0.25>*2 
          
          
        //  onion 1
         // sine_wave
        //  scale 10
          
          
                
         } 
         
         */
                
        
        finish {
           ambient 0.25 diffuse 1.0 reflection 0.001
           }
      
      rotate x*90
        
       scale 5
          
       
     //  translate x*-10
        
  }         


    scale 15
 
    rotate x*-180
    
    
    rotate x*-30  
    
    

}


Licensing

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

File history

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

Date/TimeThumbnailDimensionsUserComment
current12:47, 7 May 2022Thumbnail for version as of 12:47, 7 May 20223,200 × 2,400 (6.55 MB)Merikanto (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

Metadata