POV-Ray : Newsgroups : povray.general : Spring is sprung. : Re: Spring is sprung. Server Time
3 Aug 2024 22:16:25 EDT (-0400)
  Re: Spring is sprung.  
From: Tom Melly
Date: 23 Sep 2003 11:09:03
Message: <3f70620f$1@news.povray.org>
"Stephen McAvoy" <McA### [at] aolcom> wrote in message
news:c1j0nvccpb4or0qvk6kcm10o73j08mfikq@4ax.com...
> Does any one have ideas for a compressible spring for an animation. I've tried
a
> sphere_sweep but the rendering times are too long for me?

Hmm, well I googled for helix function
which got me http://www.ric.edu/mrodrigues/math411/TheHelix.doc
which got me
#declare fn_X = function(x,y,z) {(x-cos(3*z))*(x-cos(3*z)) + (y -
sin(2*z))*(y-sin(2*z)) - 0.5}

which is fine if you want to model a slinky after a 4yr old with tourette's has
got hold of it.... :(


Post a reply to this message

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