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
@RienNeVaPlus
RienNeVaPlus / easing.js
Last active June 10, 2021 15:14 — forked from gre/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 }
@PurpleBooth
PurpleBooth / README-Template.md
Last active April 22, 2024 11:45
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

@xyqfer
xyqfer / Tween.js
Created October 1, 2013 07:14
缓动算法
/*
* 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 = {