Click the green flag to run and then shift-click the green flag to set turbo mode (otherwise it's VERY slow). Once it finishes, change the number of sides and click the green flag again. Note that if you change the number of sides while it is running it messes up.
Most fractals are done using recursion. I wanted to do it using nested loops instead as I think it is easier to understand and learn from. Recursion can be very powerful but is also pretty hard to read and understand.