• This is a weighted average project. It determines the position of point M using the weights and this formula: PaWa + PbWb + PcWc Pm = ------------------------------------ Wa + Wb + Wc Where: • Pm is the position of point M • Pa is the position of point A • Pb is the position of point B • Pc is the position of point C • Wa is A's weight • Wb is B's weight; and Wc is C's weight. • To simplify the formula, say it in words: "The position of M is equal to the position of every point (except M) multiplied by the weight of every point (except M), all divided by the total of each points' weights (except M)." • M is the average position of all the other points according to their weights. • Notice that if you set each of the weights to 0, M is undefined because in the formula, you have to divide the position of each point multiplied by the weight of each point and divide that by the total of the weights. But that means the total of the weights are 0, and you can't divide by 0. • This weighted average is actually very important in moviemaking at Pixar. Click on this link to go to the lesson about weighted averages on Khan Academy: https://www.khanacademy.org/computing/pixar/modeling-character/subdivision-averages/v/charactermodeling5 • And you could watch the next videos to improve your understanding. • You can experiment by dragging the points A, B, and C and changing their weight values to determine the position of M. Have fun!
Credit to: Khan Academy Sprites: 4 Total number of blocks: 69 Days to make: 1 Finished on 27-01-2024