Drag time slider to see the output results

Dist

Speed

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 is required to pass through station B at V End at an exact timer

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 but it's not perfect yet.

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 math might improve the galvo performance.

It would be a fantastic routine for animations where you want to maintain momentum and seamlessly combine motions.