POV-Ray : Newsgroups : povray.general : Decaying ripples : Re: Decaying ripples Server Time
29 Jul 2024 08:22:43 EDT (-0400)
  Re: Decaying ripples  
From: Bill Pragnell
Date: 23 Apr 2012 06:40:01
Message: <web.4f95314e6845f1165b7d07940@news.povray.org>
Stephen <mcavoys_at@aoldotcom> wrote:
> 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.

Too true. I use it a little too much to be honest :)


Post a reply to this message

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