aalto-mediacode_Generative-Algorithm-Knitting_Kiko/langtonsant_integration/moveForward2.pde
void moveForward2() {


  if (dir == ANTUP) {
    //y-=ySpeed;
    y--;
  } else if (dir == ANTRIGHT) {
    //x+=xSpeed;
    x=x+2;
  } else if (dir == ANTDOWN) {
    //y+=ySpeed;
    y++;
  } else if (dir == ANTLEFT) {
    //x-=xSpeed;
    x=x-2;
  }

  if (x > width-1) {
    x = 0;
  } else if (x < 0) {
    x = width-1;
  }
  if (y > height-1) {
    y = 0;
  } else if (y < 0) {
    y = height-1;
  }
}
