|
![](/i/fill.gif) |
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] free fr
http://jeberger.free.fr
Jabber: jeb### [at] jabber fr
Post a reply to this message
Attachments:
Download 'us-ascii' (1 KB)
|
![](/i/fill.gif) |