Looping a Triangle

Open the console to see the output.