POV-Ray : Newsgroups : povray.animations : Trig for Lohmueller chain animation : Re: Trig for Lohmueller chain animation Server Time
25 Apr 2024 21:35:34 EDT (-0400)
  Re: Trig for Lohmueller chain animation  
From: Bald Eagle
Date: 16 Jul 2014 12:05:00
Message: <web.53c6a29a83f3fc9c5e7df57c0@news.povray.org>
http://www.f-lohmueller.de/pov_tut/animate/anim141e.htm

Actual FM SDL, comments MINE.

#local R1 = 0.15;      // Radius of Large Pulley
#local R2 = 0.075;     // Radius of Small Pulley
#local Dist = 0.30;    // Distance between pulleys
#local Link_N = 30;    // number of links in chain
// -------------- calculations ---------
#local Ri = R1-R2;    // Difference in pulley radii
#local C_Angle = degrees(asin(Ri/Dist)); // [Dist is a hypotenuse - should be
cos?!]
// chain length linear
#local LLen=sqrt(pow(Dist,2)-pow(Ri,2)); // [can't use a _hypotenuse_ as a
_side_?!]


Post a reply to this message

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