Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

[SOLVED] Smoothing position coordinates

$
0
0

position = position * 0.9 + newCentroid * 0.1;

or any other low pass filter, but this is probably the simplest.


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>