TremulaJS is a client-side javascript UI component providing Bézier-based content-stream interactions with momentum & physics effects for mouse, scroll and and touch UIs.
This Pen allows you to experiment using different config file settings.
TremulaJS is a client-side javascript UI component providing Bézier-based content-stream interactions with momentum & physics effects for mouse, scroll and and touch UIs.
This Pen allows you to experiment using different config file settings.
/** | |
* Weltmeister - Multiple entity select and move | |
* @author Ash Blue (Twitter @ashbluewd) | |
* @src https://gist.github.com/ashblue/9901165 | |
* | |
* Allows you to select and move multiple entities in Weltmeister with a single command | |
* | |
* Quick usage instructions | |
* - Select the entity layer | |
* - Hold down shift |
// easing functions http://goo.gl/5HLl8 | |
Math.easeInOutQuad = function (t, b, c, d) { | |
t /= d/2; | |
if (t < 1) { | |
return c/2*t*t + b | |
} | |
t--; | |
return -c/2 * (t*(t-2) - 1) + b; | |
}; |