Jump to content

Animated Sin Wave


jukoor
 Share

Recommended Posts

HI all,

im am struggling a little bit to create a animated sinwave in phaser. So what i want is a normal sinus wave that moves smoothly while animating its sinAmplitude parameter.

I did create a wave with the help of sinCosGenerator and catmullRomInterpolation but im struggling to animate it, i am not sure where and how to correctly call the function which updates the amplitude, would be great if someone could give me a little help, i already searched the forum but did not excactly find what i was looking for.

thx in advance :) 

jules

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...