Velocity is a Autodesk Maya™ node for calculating the velocity (speed) and acceleration of a 3D point in Maya™. It's a simple node, but it does the job and could be expanded later to calculate rotation angular velocity and acceleration, etc.
Velocity was created to help artists and tools display and analyse the speed of an object. This tool feeds into the Camera Inferno project, where the node was re-written into a Python node.
This project uses a C++ compiler and (old-school) CMake 2.6. The code isn't very complicated, but the node does rely on reading the DG node graph inputs at different frames to compute the speed dynamically.
Try out velocity-maya on GitHub.