// forked from tsmallfield's "forked: CSS Animationの位置をjsでベジェ曲線を計算して出す" http://jsdo.it/tsmallfield/iDF2 // forked from tsmallfield's "forked: CSS Animationの位置をjsでベジェ曲線を計算して出す" http://jsdo.it/tsmallfield/4X0R // forked from ndruger's "CSS Animationの位置をjsでベジェ曲線を計算して出す" http://jsdo.it/ndruger/xd7s /*global DP */ var FPS = 30; function BezierCurve() { } BezierCurve._fy = function(s, y1, y2) { var t =