[GIF] GIF Loop Coder - Interpolation

This video discusses the default interpolation in GIF Loop Coder, and four distinct ways to change that interpolation to add variety to your animations.

Set Mode:

glc.setMode('single');
//or
glc.setMode('bounce');

Set Easing:

glc.setEasing(false); //true

speedMult: Speed up the animation by number

phase: Delay the start animation by number

function onGLC(glc) {
glc.loop();
// glc.size(400, 400);
// glc.setDuration(5);
// glc.setFPS(20);
// glc.setMode('single');
// glc.setEasing(false);
var list = glc.renderList,
width = glc.w,
height = glc.h,
color = glc.color; // your code goes here: list.addCircle({
x: [, ],
y: height * 0.25,
radius: ,
speedMult: , // speed up
phase: , // delay starting
}) list.addCircle({
x: [, ],
y: height * 0.5,
radius: ,
phase: 0.666
}) list.addCircle({
x: [, ],
y: height * 0.75,
radius:
})
}

[GIF] GIF Loop Coder - Interpolation

上一篇:【LeetCode】Permutations 解题报告


下一篇:Spring中的DataBinding(一)