POV-Ray : Newsgroups : povray.general : Decaying ripples : Re: Decaying ripples Server Time
29 Jul 2024 08:20:43 EDT (-0400)
  Re: Decaying ripples  
From: Stephen
Date: 23 Apr 2012 05:07:58
Message: <4f951bee@news.povray.org>
On 23/04/2012 8:19 AM, Bill Pragnell wrote:
> Stephen<mcavoys_at@aoldotcom>  wrote:
>> I am looking for a function to use in an isosurface that will give me
>> ripples that will decay to zero over a short distance.
>> Can anyone suggest one?
>
> How about something like:
>
> sin(a*x)*exp(-b*x^2)
>
> Plot it, e.g., here for a quick preview:
> http://rechneronline.de/function-graphs/
>
> For more ripples over a given range, increase a
> For a greater range, decrease b
>
> Bill
>
>
  Ah! The exponential, just what I was looking for.
It is true that if you don't use it, you lose it.

Thanks Bill

-- 
Regards
     Stephen


Post a reply to this message

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