Smoothing a vector with 100 Elements

Hi guys,

Do you know any clever algorithm how to smooth the values with in a spline which are stored in a vector? So that the average of an interval is calculated?

thank you!

The ofPath class has a method called simplify ( float tolerance = 0.3 ) . http://www.openframeworks.cc/documentation/graphics/ofPath.html#simplify- This can be used easily to reduce the overall points on a path.