I have been following ofBook, I am new to statistics. In one of the book chapters “Drawing Brushes” it was proposed for the reader to write a code that handles drawing of shapes differently based on mouse movment speed.
What I don’t understand is how to calculate mouse move speed. I can measure change from previous to next bu comparing in ofVec2f but then I only have 1 value of the speed, how do I measure tendency. Could someone give me a simple iteration example of how to collect these values and measure them for realtime implementation.