POV-Ray : Newsgroups : povray.general : re Lissajous figures : Re: re Lissajous figures Server Time
13 Aug 2024 11:22:36 EDT (-0400)
  Re: re Lissajous figures  
From: Ken
Date: 6 Sep 1998 09:42:01
Message: <35F282A1.3275C4F8@pacbell.net>
Ken wrote:

> Here is a string that generates a figure eight plucked from
> an old o-scope manual.
>
> The equation:
> x=sin(b t+c);y=sin t   {0,2p}   {b:2}   {c:p}
>
> The ; separate the parametric equations
> The first {} with the comma is the range.
> The second and third {} with the colon set variables b and c
> p = pi
>
> How would this be plugged into Peters code ?
>
> Ken
>

I answered this one for myself

change

From:
#declare coeff_X=2;
#declare coeff_Y=5;
#declare coeff_Z=7;
To:
#declare coeff_X=1;
#declare coeff_Y=2;
#declare coeff_Z=1;

Makes a nice figure eight bow tie looking thing.

Ken


Post a reply to this message

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