next up previous
Next: Ciggles Up: Wiggles, and twiggles, and Previous: Wiggles

Subsections

Twiggles

A twiggle is a triangular wiggle.

Like a wiggle, a twiggle has a duration and an amplitude which can vary independently of each other. These are called the ``base amplitude'' and the ``base duration'', corresponding to the ``base'' of a triangle.

In addition to these variables, the twiggle also has a ``peak amplitude'' and a ``peak location'', corresponding to the ``peak'' of a triangle. These can vary independently of each other, and independently of the base.

The peak amplitude is the height of the peak of the triangle.

The peak location is the location of the triangle's peak relative to its base. (This can only be a value between 0.1 and 0.9, representing a proportion of the length of the base.)

Here's an example of a twiggle segment definition:

t1 twiggle                  # id, type
30 60 30 .01                # base duration (initial, max, min, inc)
0 8000 -8000 100            # base amplitude (initial, max, min, inc)
-15000 0 -30000 100         # peak amplitude (initial, max, min, inc)
.5 1 .25 .001               # peak location (initial, max, min, inc)

Here are plots of a state with 6 segments, and each segment is a twiggle. The three plots are a few hundred iterations apart in time.

\includegraphics [width=1.75in]{graphics/twig10.eps}
\includegraphics [width=1.75in]{graphics/twig75.eps}
\includegraphics [width=1.75in]{graphics/twig90.eps}

Twiggle range limits

All ranges are inclusive of their endpoints.


next up previous
Next: Ciggles Up: Wiggles, and twiggles, and Previous: Wiggles
Arun Chandra
arunc@evergreen.edu