tracker: add gradient and velocity support