POV-Ray : Newsgroups : povray.advanced-users : 3D Sinewave : Re: 3D Sinewave Server Time
2 Nov 2024 11:26:40 EDT (-0400)
  Re: 3D Sinewave  
From: Chris Huff
Date: 12 Oct 1999 20:29:24
Message: <3803D2DF.677D27AC@compuserve.com>
I think this:
#declare X=-50;
#while (X<50)
  #declare Z=-50;
  #while (Z<50)
    sphere { <X,5*(sin(X/30) +sin(Z/30)),Z>,1 }
    #declare Z=Z+1;
  #end;
  #declare X=X+1;
#end
will do what you want.


Post a reply to this message

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