POV-Ray : Newsgroups : povray.general : Decaying ripples : Re: Decaying ripples Server Time
29 Jul 2024 08:10:29 EDT (-0400)
  Re: Decaying ripples  
From: Bill Pragnell
Date: 23 Apr 2012 03:20:08
Message: <web.4f9502776845f1165b7d07940@news.povray.org>
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


Post a reply to this message

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