explode() {
    for (let i = 0; i < 200; i++) {
      let p = new Particle(
        this.firework.pos.x,
        this.firework.pos.y,
        this.hue,
        false
      );
      this.particles.push(p);
    }
  }
//Make 200 new particles when a particle reaches to the top y=0
Make 200 new particles when a particle reaches to the top y=0
Make 200 new particles when a particle reaches to the top y = 0
explode() {
    for (let i = 0; i < 200; i++) {
      let p = new Particle(
        this.firework.pos.x,
        this.firework.pos.y,
        this.hue,
        false
      );
      this.particles.push(p);
    }
  }
explode ( ) { for ( let i = 0 ; i < 200 ; i ++ ) { let p = new Particle ( this . firework . pos . x , this . firework . pos . y , this . hue , false ) ; this . particles . push ( p ) ; } }
Make 200 new particles when a particle reaches to the top y=0
Make 200 new particles when a particle reaches to the top y = 0