POV-Ray : Newsgroups : povray.binaries.images : Sunflower (66k) : Sunflower (66k) Server Time
13 Aug 2024 07:24:24 EDT (-0400)
  Sunflower (66k)  
From: Xilo Musimene
Date: 22 Apr 2003 21:15:48
Message: <3EA55C11.8090908@hotpop.com>
Hi there,
   I was wondering if any of you had comments on my sunflower algorythm? 
  The result is in an circle of a radius of 1 at z=0

Code below:

#declare nSeeds = 400;
#declare i = 0;
#while( i< nSeeds)

   object { Seed translate <0,pow(i,2)/pow(nSeeds,2), 0>
	rotate z*pow(i/nSeeds, 1)*3600*3}

#declare i=i+1;
#end

-- 
Dedicated to audio/visual and interactive artwork.
Author of The Primary Colors of CSound:
http://www.geocities.com/simonlemieux/PCCS/index.html


Post a reply to this message


Attachments:
Download 'sunflower.jpg' (67 KB)

Preview of image 'sunflower.jpg'
sunflower.jpg


 

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