Skip to content

Commit

Permalink
Remove hazard pulse effect.
Browse files Browse the repository at this point in the history
  • Loading branch information
bvanvugt committed Jul 27, 2021
1 parent b4747ab commit 7953a3f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/grid.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -468,8 +468,7 @@ class Grid extends React.Component {
(CELL_SIZE + CELL_SPACING) * this.props.rows + CELL_SPACING;

const sine = (new Date().getTime() / 500.0) % 2;
const pulse = 0.05 * Math.sin(Math.PI * sine);
const hazardOpacity = parseFloat(colors.hazardOpacity) + pulse;
const hazardOpacity = parseFloat(colors.hazardOpacity);

return (
<svg
Expand Down

0 comments on commit 7953a3f

Please sign in to comment.