Smooth parameter animation.
This demo solves a math problem that we encounter in the world all the time. You have something moving at a certain speed and you want it to be at a precise point at a precise time passing at a precise speed.
Let's say, a train passes station A at speed V Start. The distance between station A and B is known. The train is an express and will pass through station B at V End in a certain abount of time.
I was able to formulate the question but for I was unable to solve the maths for it. But with the help of a mathemetician I got there in the end.
To me this old code has become relevant recently because I wonder if I can use it to drive Laser Galvo's using this logic. As the x and y mirrors are tracing a shape there will be speed requirements on various turns, these are managed by placing points in the correct locations. This little bit of maths might improve the galvo performance.
It be a fantastic routine for animations where you want to maintain momentum and seamlessly combine motions.