POV-Ray : Newsgroups : povray.general : Bell curves : Re: Bell curves Server Time
30 Jul 2024 06:23:32 EDT (-0400)
  Re: Bell curves  
From: "Jérôme M. Berger"
Date: 1 Sep 2009 14:11:31
Message: <4a9d63d3@news.povray.org>
Francois LE COAT wrote:
> Hi,
> 
> SharkD writes :
>> I would like to create a function for a heightfield that has a nice 
>> bell curve shape, but can also be normalized between 0 and 1 along 
>> each axis. I've looked at the normal distribution and beta 
>> distribution functions, but they can only be normalized along one axis
.
>>
>> The sine wave can be normalized, but it is not "fat" enough (i.e. I 
>> would like the peak to be wider than the trough). What other options 
>> are there?
> 
> t in [0,2*Pi], y in ]-1,1[ then bell curve is
> 
>     "cos^2(t)+sin^2(t)=(4+ath(-y))^2"
> 
	You do know that "cos^2(t)+sin^2(t)" is 1 for all t do you?

		Jerome
-- 
mailto:jeb### [at] freefr
http://jeberger.free.fr
Jabber: jeb### [at] jabberfr


Post a reply to this message


Attachments:
Download 'us-ascii' (1 KB)

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