|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
mick wrote:
> 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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Whats the t stand for?
mick
Ken <tyl### [at] pacbellnet> wrote in article
<35F2687A.9409128B@pacbell.net>...
> 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
>
> mick wrote:
>
> > 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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Since it was written as an example for an o-scope
I would guess it is time. O-scopes are a time period
driven device.
Ken
mick wrote:
> Whats the t stand for?
> mick
>
> Ken <tyl### [at] pacbellnet> wrote in article
> <35F2687A.9409128B@pacbell.net>...
> > 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
> >
> > mick wrote:
> >
> > > 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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
mick wrote in message <01bdd97e$69b331e0$a34aa8c2@wphnvffu>...
>Great little utility Peter
>
>Took the liberty of abusing it
>
Sure.
BTW, I'm writing an .inc to make a coils & stuff. It is very customizeable
and with the proper parameters you can make Lessagous, too. I am rewriting
an old version it ro make use of 3.1 syntax and to add a whole bunch of new
features. (hint: there are about 50 variables for you to set...) Once I get
it ready I'll post it. Until then, can you send me the parameters of some of
the L. beasties you've come upon? And if you do, can I use them as examples
for the .inc tutorial?
<snip>
>Have Fun
>
>Mick Hazelgrove
I sure will :)
Peter
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
mick wrote in 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
That's exactly what I did back in April during a Electrical Engineering lab
in the university... I had some problems getting this particular lab
certified by the assistant, especially when I (loudly) expressed my
bewilderment she didn't know what a Lessajous' was... :)
>Have Fun
>
>Mick Hazelgrove
I alsways do.
Peter
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |