POV-Ray : Newsgroups : povray.binaries.images : Aurora (7kbu) : Re: Aurora (7kbu) Server Time
18 Aug 2024 18:22:03 EDT (-0400)
  Re: Aurora (7kbu)  
From: Quadhall
Date: 27 Mar 2001 06:31:37
Message: <3ac07a19@news.povray.org>
>For the iso experts, is there any way I can randomly vary the
>distance between the peaks of a sine wave?


yes, the function you are looking for (I think) would look something like
this (assuming a sine wave along the x axis):

sin(  ( x + noise3d(x,y,z) )  * frequency_of_sine_wave*2*pi)

hope this helps,

Quadhall
(not an iso-expert, more of an iso-amateur)


Post a reply to this message

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