<style>
    body {
  margin: 0;
  background: none;
  overflow: hidden;
}

</style>
<html>
<canvas id="fireworksCanvas"></canvas>
</html>
<script>
const canvas = document.getElementById("fireworksCanvas");
const ctx = canvas.getContext("2d");

canvas.width = window.innerWidth;
canvas.height = window.innerHeight;

function resizeCanvas() {
  canvas.width = window.innerWidth;
  canvas.height = window.innerHeight;
}

window.addEventListener("resize", resizeCanvas, false);

class Firework {
  constructor() {
  