Lines Matching refs:s
238 if (s == undefined) var s = 1.70158;
239 return c*(t/=d)*t*((s+1)*t - s) + b;
242 if (s == undefined) var s = 1.70158;
243 return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
246 if (s == undefined) var s = 1.70158;
247 if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
248 return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
255 a=c; var s=p/4;
258 var s = p/(2*Math.PI) * Math.asin (c/a);
260 return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
265 if (!a || a < Math.abs(c)) { a=c; var s=p/4; }
266 else var s = p/(2*Math.PI) * Math.asin (c/a);
267 return (a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b);
271 if (!a || a < Math.abs(c)) {var a=c; var s=p/4; }
272 else var s = p/(2*Math.PI) * Math.asin (c/a);
273 if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
274 return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;