|
![](/i/fill.gif) |
Noticed you used a reserved keyword, 'distance', in the first xvibrate. To
avoid conflict the usual practice is to use capital letters for your
identifiers, so Distance would be okay. Oh, and there is also a missing ')'
after frequenci.
Tried the second equation (one with cos instead of cosd) and it seems to do
what it probably should be doing; although, at damping=5 it ends very
quickly, only 1/4 of the way into animation. By using 1.5 it seemed to last
3/4 through the animation of 100 frames.
Bob H.
Post a reply to this message
|
![](/i/fill.gif) |