[GIF] GIF Loop Coder - Interpolation
2016-07-22 15:39
686 查看
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:
Set Easing:
speedMult: Speed up the animation by number
phase: Delay the start animation by number
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: [50, 350], y: height * 0.25, radius: 20, speedMult: 2, // speed up phase: 2, // delay starting }) list.addCircle({ x: [50, 350], y: height * 0.5, radius: 20, phase: 0.666 }) list.addCircle({ x: [50, 350], y: height * 0.75, radius: 20 }) }
相关文章推荐
- shell 十三问
- 红帽6 RHCE&RHCS认证培训笔记(6)
- 红帽6 RHCE&RHCS认证培训笔记(5)
- cpu和memory性能监控
- Nginx应用场景(二)反向代理,负载均衡
- 红帽6 RHCE&RHCS认证培训笔记(4)
- Linux运维常用的命令详解
- 红帽6 RHCE&RHCS认证培训笔记(3)
- jvm 监控
- Linux 文件权限管理命令
- 红帽6 RHCE&RHCS认证培训笔记(2)
- linux 操作系统中chgrp命令的使用
- 红帽6 RHCE&RHCS认证培训笔记(1)
- opencv3重映射基础介绍
- macOS下ls命令配置
- linux 操作系统中chown命令的使用
- zookeeper注册中心安装(linux)
- apache kafka技术分享系列(目录索引)--转载
- linux下CPU信息查询
- Linux写时拷贝技术(copy-on-write)