Skip to content

Instantly share code, notes, and snippets.

View redblue9771's full-sized avatar
👀
Studying at freeCodeCamp

赤琦 redblue9771

👀
Studying at freeCodeCamp
View GitHub Profile
@redblue9771
redblue9771 / easing.js
Created May 12, 2019 06:58 — forked from RienNeVaPlus/easing.js
Simple Easing Functions in JavaScript using `export`
/**
* Easing functions
*
* https://gist.github.com/gre/1650294
* http://easings.net
*/
// no easing, no acceleration
export function easeLinear(t){ return t; }
// accelerating from zero velocity
export function easeInQuad(t){ return t*t; }
@redblue9771
redblue9771 / Tween.js
Created May 10, 2019 09:01 — forked from xyqfer/Tween.js
缓动算法
/*
* Tween.js
* t: current time(当前时间);
* b: beginning value(初始值);
* c: change in value(变化量);
* d: duration(持续时间)。
* you can visit 'http://easings.net/zh-cn' to get effect
*/
var Tween = {
@redblue9771
redblue9771 / README-Template.md
Last active May 29, 2019 03:57 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system

Prerequisites