POV-Ray : Newsgroups : povray.binaries.images : Play the cosinus : Play the cosinus Server Time
2 Aug 2024 04:21:57 EDT (-0400)
  Play the cosinus  
From: Meothuru
Date: 22 Nov 2007 00:55:01
Message: <web.474519a0164fedcb5a73e3b40@news.povray.org>
#include "textures.inc"

global_settings { assumed_gamma 1.5 }

sky_sphere {
   pigment { gradient <0, 1, 0>
      color_map {
         [ 0 rgb <0.388235, 0.541176, 0.537255> ]
         [ 0.5  rgb <0, 0, 0> ]
         [ 1 rgb <0.388235, 0.541176, 0.537255> ]
      }
   }
}

union {
   #declare z0=0;
   #declare z1=12;
   #declare winkel=64*360/z1;

// For other nice figures, play with this two parameters
// #declare z1=4;
// #declare winkel=2*360/z1;

   #declare _radius =4.5;
   #while (z1>=0)
     #if (z0>20)
         object {
          sphere {0,0.125} scale 0.75
          translate _radius*z
          rotate winkel*z1*y
          texture {Copper_Metal}
         }
     #end
     #declare _radius=_radius/1.5+cos(2*pi*z1);
     #declare z0=z0+1;
     #declare z1=z1-0.00005;
   #end
   rotate x*90
}

light_source { <4, 5, -5>, 1}

camera {
  location <0, 0, -6.25>
  look_at <0, 0, 0>
}


Post a reply to this message


Attachments:
Download 'rosette.jpg' (260 KB)

Preview of image 'rosette.jpg'
rosette.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.