POV-Ray : Newsgroups : povray.general : re Lissajous figures : re Lissajous figures Server Time
13 Aug 2024 11:15:43 EDT (-0400)
  re Lissajous figures  
From: mick
Date: 6 Sep 1998 07:09:27
Message: <01bdd97e$69b331e0$a34aa8c2@wphnvffu>
Great little utility Peter

Took the liberty of abusing it

When I was a kid I remember feeding two signal generators into an
oscilloscope

So I modified yor code to do that

Add 
#declare coeff2_X = ?; // where ? is any number multiples of coeff_X work
best
and add

+ sin(2*pi*(dummy+phase_X)*coeff2_X),

to 

<sin(2*pi*(dummy+phase_X)*coeff_X) 

to get

<sin(2*pi*(dummy+phase_X)*coeff_X) + sin(2*pi*(dummy+phase_X)*coeff2_X),

Gives some amazing patterns

Have Fun

Mick Hazelgrove


Post a reply to this message

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