Electronic camming is vital is many applications. Flying shears, powdered metal presses, sawing wood, testing race car suspensions, linearizing motion to name a few. The simplest method is to execute a cubic spline as a function of time. However, it is better to execute a cubic spline as a function of a virtual master. This allows one to speed up or slow down time.
I can provided examples.