code: function Tri() {
    Triangle.apply( this, arguments );
    this.target = {vec: null, t: 0};
    this.vertices = ["p0","p1","p2"];
    this.colorId = 1 + (colorToggle % 3);
  }
docs: Tri is a kind of Triangle which can generate new triangles by unfolding.