POV-Ray : Newsgroups : povray.animations : Trig for Lohmueller chain animation : Re: Trig for Lohmueller chain animation Server Time
20 Apr 2024 09:18:37 EDT (-0400)
  Re: Trig for Lohmueller chain animation  
From: Le Forgeron
Date: 16 Jul 2014 14:12:13
Message: <53c6c07d@news.povray.org>
Le 16/07/2014 19:44, Bald Eagle nous fit lire :
> New graphic posted in povray.binaries.misc to show solution using alpha and PT.
> 
> 
Just a small point or two: sinus is opposite/hypothenuse... tangente is
opposite/adjacent.

sin(alpha) = (r1-r2)/P

90 deg is pi/2, not 2 pi.

The expression of total length based on alpha is missing.
It should be
2*sqrt(P^2 - (r1-r2)^2)) +2*pi*r2 + (pi+2*asin((r1-r2)/P))*(r1-r2)

The interesting point of that formula is that it is invariant about the
value of r1 & r2. Whereas the Wiki formula has to have r1 > r2 or it fails.

(I might be wrong about the formula, but the invariant is there).

-- 
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

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