//Simple vector by greenSock ----- 23/ August / 2016

eye animation

var tt = new TimelineLite();
tt.to($white, 0.23, {scaleY:0, repeat:5, yoyo:true, transformOrigin: "50% 50%", ease:Power4.easeInOut}, "blink+=1.3");
tt.to($black, 0.23, {scaleY:0, repeat:5, yoyo:true, transformOrigin: "50% 50%", ease:Power4.easeInOut}, "blink+=1.3");



// second animation

Ear animtion with eye

tl.to($hear, 0.15, {scaleY:1.1, rotation:5, repeat:6, yoyo:true, transformOrigin: "50% 50%", ease:Bounce.easeInOut}, "hear+=2.3");
tl.to($heardown, 0.15, {scaleY:1.1, rotation:5, repeat:6, yoyo:true, transformOrigin: "50% 50%", ease:Bounce.easeInOut}, "hear+=2.3");

Eslam UI