Crop Triangles solutions

Crop Triangles was solved using JavaScript by 3 contestants. Solution sizes: average 2233 bytes (shortest: 1686; longest: 2780).