Skip to content

Instantly share code, notes, and snippets.

View Efetivos's full-sized avatar
🎯
Focusing

Efetivos Efetivos

🎯
Focusing
View GitHub Profile
@Efetivos
Efetivos / gsap-easings.js
Created February 19, 2025 02:13 — forked from Dexdot/gsap-easings.js
GSAP Easing => CSS Easings
ease: "cubic-bezier(1, 0, 0.3, 1)"
easeOut: "cubic-bezier(0.165, 0.84, 0.44, 1)"
easeIn: "cubic-bezier(0.755, 0.05, 0.855, 0.06)"
default: "cubic-bezier(0.25, 0.1, 0.25, 1)"
easeInOut2: "cubic-bezier(0.455, 0.030, 0.515, 0.955)"
easePower2: "cubic-bezier(0.77, 0, 0.175, 1)"
easePower3: "cubic-bezier(0.645, 0.045, 0.355, 1)"
easePower4: "cubic-bezier(0.770, 0.000, 0.175, 1)"
easeSine: "cubic-bezier(0.445, 0.05, 0.55, 0.95)"
easeInPower2: "cubic-bezier(0.550, 0.085, 0.680, 0.530)"
import imagesLoaded from 'imagesloaded'
import TweenMax from 'gsap'
export default class Smooth {
constructor(options = {}) {
this.bindAll()
TweenMax.defaultEase = Linear.easeNone
this.el = options.el || document.body
@Efetivos
Efetivos / EventBus.js
Created February 13, 2019 14:56 — forked from jesperlandberg/EventBus.js
Smooth
import Emitter from 'tiny-emitter'
export default new Emitter()