fix chaos centering
This commit is contained in:
parent
8c966653ec
commit
35ed1359e4
@ -8,8 +8,8 @@ const { randomPoints } = require('../../utils');
|
|||||||
function projectile(x, y, radius, colour) {
|
function projectile(x, y, radius, colour) {
|
||||||
return (
|
return (
|
||||||
<circle
|
<circle
|
||||||
cx={anime.random(-400, 400)}
|
cx={anime.random(0, 400)}
|
||||||
cy={anime.random(-400, 400)}
|
cy={anime.random(0, 400)}
|
||||||
r={radius}
|
r={radius}
|
||||||
fill={colour}
|
fill={colour}
|
||||||
stroke={colour === '#a52a2a' ? 'none' : '#f5f5f5'}
|
stroke={colour === '#a52a2a' ? 'none' : '#f5f5f5'}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user