Skip to content

Instantly share code, notes, and snippets.

@mr-tester-jr
mr-tester-jr / easing.js
Created September 17, 2020 09:58 — 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: t => t,
// accelerating from zero velocity
easeInQuad: t => t*t,
// decelerating to zero velocity
@mr-tester-jr
mr-tester-jr / javascript-hex-background.markdown
Last active August 19, 2020 11:37
Javascript Hex Background

Javascript Hex Background

A TRON-esque hexagonal background created with canvas and javascript.

A Pen by Laerin on CodePen.

License.