diff --git a/client/src/components/anims/chaos.jsx b/client/src/components/anims/chaos.jsx index 2d959a7d..205a661f 100644 --- a/client/src/components/anims/chaos.jsx +++ b/client/src/components/anims/chaos.jsx @@ -12,7 +12,8 @@ function projectile(x, y, radius, colour) { cy={y} r={radius} fill={colour} - stroke="none" + stroke={colour === '#a52a2a' ? 'none' : '#f5f5f5'} + stroke-width={colour === '#a52a2a' ? '0' : '0.05em'} filter={colour === '#a52a2a' ? 'url(#chaosRedFilter)' : 'url(#chaosBlueFilter)'} /> ); @@ -25,7 +26,7 @@ class Chaos extends Component { const points = randomPoints(20, 30, { x: 0, y: 0, width: 300, height: 100 }); this.charges = points.map(coord => { const colour = Math.random() >= 0.5 ? '#a52a2a' : '#3050f8'; - return projectile(coord[0], coord[1], 14, colour); + return projectile(coord[0], coord[1], '0.5em', colour); }); } @@ -84,8 +85,8 @@ class Chaos extends Component { this.animations.push(anime({ targets: ['#chaosRedFilter feTurbulence', '#chaosRedFilter feDisplacementMap'], baseFrequency: 2, - scale: 20, - numOctaves: 5, + scale: 5, + numOctaves: 3, easing: 'easeOutSine', duration: TIMES.TARGET_DURATION_MS,