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.addStyle('scale',      0.2, 1);
proxEffect.addStyle('brightness', 0, 650);