Further to my last comment, if any use to people on this thread, I have released the above as a standalone D3 module:
Create interpolator from D3 curve functions.
Further to my last comment, if any use to people on this thread, I have released the above as a standalone D3 module:
Create interpolator from D3 curve functions.