adashabeta

ProximityEffect demo 1

 

View/download project on GitHub.


// effect config
let params = {
    threshold: 100,
    runoff:      0,
    jitter:    120,
    attack:      0.6,
    decay:       0.06,
    invert:    true
};


// add effects
proxEffect.addEffect('scale',      0.2, 1);
proxEffect.addEffect('brightness', 0, 650);