POV-Ray : Newsgroups : povray.general : I was disappointed with six lines : Re: I was disappointed with six lines Server Time
8 Aug 2024 06:13:41 EDT (-0400)
  Re: I was disappointed with six lines  
From: Nekar Xenos
Date: 9 May 2001 04:06:28
Message: <3af8fa84@news.povray.org>
Cool! Why didn't I think of that...  :)

Nekar

--
#local N=<-4,8,20>;#local K=<4,-8,20>;#local R=seed(0);union{#while((K-N).x>0)
#local X=N;#local N=N+<rand(R),rand(R),1>/30;#local N=(vlength(N-K)<vlength(X-K
)?N:2*X-N);sphere{<N.y,-N.x,N.z>,.2}sphere{N,.2}sphere{<-N.x-8,N.y,N.z>,.1//-NX
pigment{rgb N}}sphere{<N.x+8,-N.y,N.z>,.1 pigment{rgb N}}#end pigment{rgb 9}}


Post a reply to this message

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