Morphing
:
Greensock
ADVANCED TRANSITION
function
flame
() {
var
tl =
new
TimelineMax();
tl.add(
"begin"
);
tl.to(blurNode,
2.5
, {
attr: {
stdDeviation:
3
}
},
"begin"
);
var
num =
9
;
for
(
var
i =
1
; i <= num; i++) {
tl.to(fStable,
1
, {
morphSVG: {
shape:
"#f"
- I
},
opacity: ((
Math
.random() *
0.7
) +
0.7
),
ease: Linear.easeNone
},
"begin+="
- i);
}