Quantcast
Viewing all articles
Browse latest Browse all 136

Calculate weighted mean based on direction

Technical version: I need to calculate the weighted mean of a set of points, using an arbitrarily decided 'forward' direction. The more 'forward' a point is from the rest of the group, the more weight is has. Contextual version: I have a camera that is tracking a group of players. I'd like to reward the people who are in the 'front' of the pack by giving them more camera influence (or giving the players in the 'back', less). I'd really appreciate some help!

Viewing all articles
Browse latest Browse all 136

Trending Articles



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