POV-Ray : Newsgroups : povray.general : Bell curves : Re: Bell curves Server Time
30 Jul 2024 06:20:46 EDT (-0400)
  Re: Bell curves  
From: Francois LE COAT
Date: 1 Sep 2009 07:27:48
Message: <4a9d0534$1@news.povray.org>
Hi,

SharkD writes :
> Francois LE COAT writes :
>> t in [0,2*Pi], y in ]-1,1[ then bell curve is
>>
>>     "cos^2(t)+sin^2(t)=(4+ath(-y))^2"
>>
>> ath() is hyperbolic arctangent means inverse of hyperbolic tangent th(
).
>>
>> Does it suits you ?
> 
> Is this a correct transformation?
> 
> 0 = tanh(sqrt(cos(t)^2 + sin(t)^2) - 4) + y

y = th( 4 - sqrt(x^2 + z^2) ) with x in [-8,8] and z in [-8,8]

That's correct, it looks like :-)

Regards,

-- 

Author of Eureka 2.12 (2D Graph Describer, 3D Modeller)
http://eureka.atari.org/
http://fon.gs/eureka/


Post a reply to this message

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