POV-Ray : Newsgroups : povray.animations : Trig for Lohmueller chain animation Server Time
28 Mar 2024 07:16:51 EDT (-0400)
  Trig for Lohmueller chain animation (Message 11 to 12 of 12)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Le Forgeron
Subject: Re: Trig for Lohmueller chain animation
Date: 16 Jul 2014 16:32:01
Message: <53c6e141$1@news.povray.org>
Le 16/07/2014 22:24, Le_Forgeron nous fit lire :

> My bad, it should have been :
> 
> 2*sqrt(P^2 - (r1-r2)^2)) +2*pi*r2 + (pi+2*asin((r1-r2)/P))*(abs(r1-r2))
> 

Bugged again.
It's simpler and better :

2*sqrt(P^2 - (r1-r2)^2)) +pi*r2 + pi*r1 +2*asin((r1-r2)/P)*(r1-r2)

no need for abs(), as the last product will always be positive.

-- 
IQ of crossposters with FU: 100 / (number of groups)
IQ of crossposters without FU: 100 / (1 + number of groups)
IQ of multiposters: 100 / ( (number of groups) * (number of groups))


Post a reply to this message

From: Bald Eagle
Subject: Re: Trig for Lohmueller chain animation
Date: 16 Jul 2014 18:10:00
Message: <web.53c6f75d83f3fc9c5e7df57c0@news.povray.org>
OK, I'm pretty sure that at long last I fixed it and clarified the diagrams and
equations.  Thanks again for all of your help, This is all a LOT clearer now.

Maybe I'll rewrite the SDL code to reflect how this all works and make it a bit
clearer.  I know that I've already got some modifications I added last year, and
now I'll just take a whack at the rest of it.


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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