Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
module.exports = ({ hyperTerm, xTerm }) => {
const effects = [];
effects.push(new GlitchEffect({
delay: new Vector2(1, 7),
duration: new Vector2(0, 1),
columns: 0.05
}));
effects.push(new BloomEffect({
kernelSize: 3,
distinction: 1,
blendFunction: 1 // add
}));
effects.push(new ScanlineEffect({ density: 1.3 }));
effects.push(new SepiaEffect({ intensity: 0.5 }));
effects.push(new VignetteEffect({
darkness: 0.6,
offset: 0