Controlling Path-Follow Speed in Animation Nodes

HelloI am creating a scene in which the height of the cylinders in a grid is controlled by the distance from an object. The object travels on a path (bezier circle), and I would like to make the object slow down when it approaches the camera in order to create a slow motion effect. I’m not sure how to do this in animation nodes and nothing I can think of will work. My node setup for the object following the curve is here http://imgur.com/AeWUbi4 and the blend file is here http://www.mediafire.com/file/ubj4araupdq51av/ANpractice.blend
I am pretty to animation nodes so there might be an easy solution but let me know.

Thanks

You can just use the follow path constraint on the cube and then keyframe animate the offset value to control the speed of the cube moving along the curve

Attachments

ANpractice1.blend (199 KB)

I tried this, but when I use the follow path constraint the object follows the path but it doesn’t effect the cylinders as directed by the animation nodes. The only way I could get the object to follow the path and still effect the cylinders was by doing it in animation nodes.