POV-Ray : Newsgroups : povray.binaries.animations : Re: It would have been cool... : Re: It would have been cool... Server Time
20 Jul 2024 21:32:27 EDT (-0400)
  Re: It would have been cool...  
From: Spock
Date: 26 Jan 2000 10:40:20
Message: <388f1564@news.povray.org>
I haven't got the smarts to deal with real physics or the imagination
to come up with my own ideas for animations, so I stole your idea...

I gave the beans from my last posting a linear attraction to the origin,
a 1/distance repulsion from each other, and filled the space with a
constant friction factor.  I also added a love of the ground to these
little guys.  The full (5MB) movie is http://members.home.net/spock19

I use a Java program to pre-compute the positions of each point in
each frame and POV to render the frames.  This time I chose to show
each point as a sphere and connected them with cylinders (stealing
from you once again :-)

If you want a copy of my code just ask.  I should warn you it makes
no attempt to implement physics (phony or otherwise), but it seems to
make interesting movies...



"John VanSickle" <van### [at] erolscom> wrote in message
news:388D0372.A915605C@erols.com...
> I had the idea of simulating the behavior of a bunch of weights and
> springs all connected together.  I tried one approach to simulating
> this, resulting in the animation attached to this message.  As you
> can see, it starts out OK, but begins to oscillate in an unnatural
> fashion.  I have an idea for a method of cheating away the problem,
> but I'm also working on my next IRTC entry as well.  When results are
> forthcoming I'll post something more useful.
>
> Regards,
> John
> --
> ICQ: 46085459


Post a reply to this message


Attachments:
Download 'Spring90.jpg' (21 KB)

Preview of image 'Spring90.jpg'
Spring90.jpg


 

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