use the arrows or arrow keys to change the pattern. Press the space bar just after the flag to change the pattern by 1 per second. And X sets it to 0. Thank to @Ajojen for the great music