delete_part(x+1, y); create_part(-1, x+1, y, PT_GROW); delete_part(x-1, y); create_part(-1, x-1, y, PT_GROW);
if yes:
if(rand()%slow < 1){ delete_part(x+1, y); create_part(-1, x+1, y, PT_GROW); } if(rand()%slow < 1){ delete_part(x-1, y); create_part(-1, x-1, y, PT_GROW); }
Again PT_GROW is the something that grows and slow the part on how slow it is. The first slow may be different from the other slow(means that it grows faster on a certain direction)