POV-Ray : Newsgroups : povray.binaries.tutorials : How to move an object along a particular spiral. : Re: How to move an object along a particular spiral. Server Time
6 Dec 2021 16:10:03 EST (-0500)
  Re: How to move an object along a particular spiral.  
From: kurtz le pirate
Date: 6 Jun 2007 14:18:27
Message: <kurtzlepirate-3A0A52.20182606062007@news.povray.org>
In article <web.466495c47064b1ed998929610@news.povray.org>,
 "Joe" <Pre### [at] aolcom> wrote:

> Is there a way to evaluate the integral with a different program, transfer
> that information to a file (a txt i guess) and have Povray read it from
> that text file in order to animate a path for a sphere?


hum... just a try :

x=0
y=0

for i=1 ... n
  t=eval(fn)
  x=cos(2.pi.t)
  y=sin(2.pi.t)
  sx=sum(x)
  sy=sum(y)
  draw point at <xs,ys>


for cornu spiral fn => i^2/321



not tested :)

-- 
klp


Post a reply to this message

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