POV-Ray : Newsgroups : povray.binaries.images : lost in julia space Server Time
7 Nov 2024 00:18:38 EST (-0500)
  lost in julia space (Message 1 to 2 of 2)  
From: Floyd
Subject: lost in julia space
Date: 13 Nov 2004 18:05:01
Message: <web.41969236283f3b845ca17c0e0@news.povray.org>
I'm playing around with while loops and random numbers now in povray and
thought this was a nice image for such a short amount of code.  Kind of
looks like neon diatoms.  - Floyd

//////////////////////////////////////////////////
#include "stars.inc"

camera {
   focal_point <0, 0,  50>
   aperture 0.8
   blur_samples 50
}

sphere {<15,0,5,> 2000 hollow texture {Starfield2}}

#declare r1 = seed(1155);
#declare INC = 7;
#declare NrX = -20;
#declare EndNrX = 20;
#while (NrX < EndNrX)
 #declare NrZ = -1;
 #declare EndNrZ = 200;
 #while (NrZ < EndNrZ)
    #declare NrY = -20;
    #declare EndNrY = 20;
    #while (NrY < EndNrY)
       julia_fractal
          {<rand(r1)*2-1,rand(r1)*2-1,rand(r1)*2-1,rand(r1)*2-1>
          quaternion sqr
          max_iteration 8
          precision 50
          pigment { rgb <rand(r1),rand(r1),rand(r1),0> }
          finish {ambient rand(r1) reflection rand(r1)}
          rotate <rand(r1)*360,rand(r1)*360,rand(r1)*360>
          translate <NrX+rand(r1)*INC,NrY+rand(r1)*INC,NrZ+rand(r1)*INC>
        }
       #declare NrY = NrY + INC;
    #end
  #declare NrZ = NrZ + INC;
 #end
 #declare NrX = NrX + INC;
#end
/////////////////////////////////////////////////////////////////////


Post a reply to this message


Attachments:
Download 'rand_julia1-2.jpg' (556 KB)

Preview of image 'rand_julia1-2.jpg'
rand_julia1-2.jpg


 

From: JSJ
Subject: Re: lost in julia space
Date: 13 Nov 2004 18:26:18
Message: <4196981a@news.povray.org>
"Floyd" <nomail@nomail> schrieb im Newsbeitrag
news:web.41969236283f3b845ca17c0e0@news.povray.org...
> I'm playing around with while loops and random numbers now in povray and
> thought this was a nice image for such a short amount of code.  Kind of
> looks like neon diatoms.  - Floyd


very nice,
reminds me of the Hubble Deep Field image
http://imgsrc.hubblesite.org/hu/db/1996/01/images/a/formats/web_print.jpg


Post a reply to this message

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