POV-Ray : Newsgroups : povray.binaries.animations : Better relaxation [~800KB] Server Time
1 Nov 2024 07:26:24 EDT (-0400)
  Better relaxation [~800KB] (Message 1 to 1 of 1)  
From: Andrew the Orchid
Subject: Better relaxation [~800KB]
Date: 11 Nov 2004 17:25:17
Message: <4193e6cd@news.povray.org>
As per my previous post, several nasty bugs were discovered and [easily] 
fixed.

This now works pretty well...

One issue that *isn't* fixed yet is that under certain conditions, the 
knot can actually "unknot itself". This despite some fairly complex code 
specifically to detect and prevent such occurances. Hmm...

In case it's unclear...
  * Simple bead-and-stick model. (Only the beads are manipulated.)
  * Each bead is subject to two forces:
    * The string applies a linear constricting force, pulling 
consecutive beads toward each other.
    * Every bead is repelled (inverse square) by every other bead.
  * In this universe, force = velocity. (i.e., no inertia, no momentum.)

Also, before moving each bead, the code checks whether the triangle 
formed by this movement is intersected by any other line segment. If it 
is, the move isn't performed. However - for reasons yet to be determined 
- this does NOT prevent knots unrevalling. More research needed...

Andrew.


Post a reply to this message


Attachments:
Download 'knots5-post.m1v.mpg' (393 KB)

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