Lines Matching refs:pos
72 sinoidal: function(pos) {
73 return (-Math.cos(pos*Math.PI)/2) + .5;
75 reverse: function(pos) {
76 return 1-pos;
78 flicker: function(pos) {
79 var pos = ((-Math.cos(pos*Math.PI)/4) + .75) + Math.random()/4;
80 return pos > 1 ? 1 : pos;
82 wobble: function(pos) {
83 return (-Math.cos(pos*Math.PI*(9*pos))/2) + .5;
85 pulse: function(pos, pulses) {
86 return (-Math.cos((pos*((pulses||5)-.5)*2)*Math.PI)/2) + .5;
88 spring: function(pos) {
89 return 1 - (Math.cos(pos * 4.5 * Math.PI) * Math.exp(-pos * 6));
91 none: function(pos) {
94 full: function(pos) {
255 return function(pos) {
263 pos = (this.options.transition(pos) * this.fromToDelta) + this.options.from;
264 this.position = pos;
266 if (this.update) this.update(pos);
287 var pos = (timePos - this.startOn) / this.totalTime,
288 frame = (pos * this.totalFrames).round();
290 this.render(pos);
889 reverser = function(pos){
890 return 1 - transition((-Math.cos((pos*(options.pulses||5)*2)*Math.PI)/2) + .5);