Modify Curve node apply mode Weighted Moving Average, how does it work?

Hi! Just figured this out, or at least one way of using it, if anyone’s still looking to do this. I’m using it with faceware animation data, but could work with anything. You need data for the current and previous frames to compare between, so in the event graph I first set the “current” data to the “previous” data, and then take the new incoming values as the “current” data. Then, go into the animGraph and make two modify curves. On the first one plug in all of the previous data values and set the apply mode to blend. On the second one, use the current curves, and set the apply mode to weighted moving avereage. Plug the modify curve with the previous data into the source of the one with the current data, and plug that into your output. Play with the alpha on the current data modify blend curve: value of 1 will be exactly the current frame, taking the alpha closer to 0 will give you more smoothed out values. I’m using a value of around .8 for facial motion capture to get smoother values. Hope this helps! :slight_smile: