Skip to content

Instantly share code, notes, and snippets.

View zephyr194's full-sized avatar
🤔
thinking

zephyr zephyr194

🤔
thinking
  • ʕʘ̅͜ʘ̅ʔ
  • 11:55 (UTC +08:00)
View GitHub Profile
@zephyr194
zephyr194 / easing.js
Created November 19, 2018 06:11 — forked from gre/easing.js
Simple Easing Functions in Javascript - see https://github.com/gre/bezier-easing
/*
* Easing Functions - inspired from http://gizma.com/easing/
* only considering the t value for the range [0, 1] => [0, 1]
*/
EasingFunctions = {
// no easing, no acceleration
linear: function (t) { return t },
// accelerating from zero velocity
easeInQuad: function (t) { return t*t },
// decelerating to zero velocity
@zephyr194
zephyr194 / index.js
Created January 12, 2018 02:40 — forked from edokeh/index.js
佛祖保佑,永无 BUG
//
// _oo0oo_
// o8888888o
// 88" . "88
// (| -_- |)
// 0\ = /0
// ___/`---'\___
// .' \\| |// '.
// / \\||| : |||// \
// / _||||| -:- |||||- \