constructor({
        root,
        container,
        lerpSpeed = 0.1,
        skew = 7.5
    } = {}) {
        super();

        this.root = root;
        this.container = container;
        this.lerpSpeed = lerpSpeed;
        this.skew = skew;

        this.position = 0;
        this.last = 0;
        this.delta = 0;
        this.direction = 0;
        this.progress = 0;
        this.height = 0;

        this.initHTML();

        this.enable();
    }
@author pschroen / https://ufo.ai/

Based on https://codepen.io/ReGGae/pen/pxMJLW