Spirals

We will now draw our first recursive function with the turtle. The goal is to draw different kind of spirals with the same function, which prototype is the following:
[!java|c]void [/!]espiral([!java|c]int [/!]passos[!scala]:Int[/!], [!java|c]int [/!]ângulo[!scala]:Int[/!], [!java|c]int [/!]comprimento[!scala]:Int[/!], [!java|c]int [/!]incremento[!scala]:Int[/!])
To help you understanding how to write it, here is an example of how the parameters change during one specific call:
espiral(5, 90, 0, 3);
  avançar(0);
  esquerda(90);
  espiral(4,90,3,3);
    avançar(3);
    esquerda(90);
    espiral(3,90,6,3);
      avançar(6);
      esquerda(90);
      espiral(2,90,9,3);
        avançar(9);
        esquerda(90);
        espiral(1,90,12,3);
          avançar(12);
          esquerda(90);
          espiral(0,90,12,3);