POV-Ray : Newsgroups : povray.advanced-users : A ripple : Re: A ripple Server Time
28 Jul 2024 16:30:18 EDT (-0400)
  Re: A ripple  
From: Carl
Date: 12 Nov 2004 10:45:00
Message: <web.4194d9b3442a937da54c62600@news.povray.org>
This isn't quite what I'm after.  This is the steady state sometime after a
disturbance has been pulling the point at x=0, y=0, back and forth between
amplitude and -amplitude according to amplitude*sin(2*pi*t).

What I'm wanting is just a one time kick (at t=0) to occure at x=0, y=0.
The ripples sould head outward and the amplitude of the oscillation at x=0,
y=0 should decay back to zero.  It's the solution to the 2D Wave Equation
with the initial state defined as a Dirac Delta Function.  It's probably
been nearly 20 years since I saw the solution to this but it may have made
use of Bessel functions.

Carl


Warp <war### [at] tagpovrayorg> wrote:
> Warp <war### [at] tagpovrayorg> wrote:
> >   If you want the wave to go outwards a full period when t goes from 0 to 1,
> > you just add it to the "angle":
>
> > amplitude*sin(frequency*sqrt(x*x+y*y) + t*2*pi)
>
>   Btw, thinking about it, I think if you want the wave to go outwards
> you have to use a - instead of a +. Anyways, you should have got the
> basic idea.
>
> --
> #macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
> N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
> N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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