POV-Ray : Newsgroups : povray.advanced-users : Some math aid required... : Re: Some math aid required... Server Time
29 Jul 2024 02:23:05 EDT (-0400)
  Re: Some math aid required...  
From: andrel
Date: 10 Feb 2004 14:42:24
Message: <402933DF.9090504@hotmail.com>
> The slope of the tangent is simply the derivative, the rate of change at 
> the given point. Unless I've screwed up the math somewhere, that would 
> be:
> 
> P1*3*(1 - t)^2*(-1) +
> P2*3*(2*(1 - t)*(-1)*t + (1 - t)^2) -
> P3*3*(2*t*(1 - t) - t^2) +
> P4*3*t^2
> 
> simplified:
> 
> 3*(P2 - P1 + (P1 - 2*P2 - P3)*2*t + (P2*3 + P3*3 + P4 - P1)*t^2)
> 
> (somebody want to check that?)
3*(P2 - P1 + (P1 - 2*P2 + P3)*2*t + (-P1 + P2*3 - P3*3 + P4)*t^2)

	Andrel


Post a reply to this message

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