get physics for javascript games , animation and simulations by Apress
view this
PhysicsforJS/chapter3/trig-animations.html
PhysicsforJS/chapter3/integration.html
PhysicsforJS/chapter3/graph-functions.html
PhysicsforJS/chapter3/graph-example.html
download here:
http://www.apress.com/9781430263371
click on source/download files at the bottom
and install node-red from IBM:
http://nodered.org/docs/