code: function (numStars) {
      if (!this.stars){
        this.stars = document.createElement('a-entity');
        this.stars.id= 'stars';
        this.createStars();
        this.el.appendChild(this.stars);
      }
      numStars = Math.floor(Math.min(2000, Math.max(0, numStars)));
      this.stars.getObject3D('mesh').geometry.setDrawRange(0, numStars);
    }
docs: Sets the number of stars visible. Calls createStars() to initialize if needed.