Arrow keys to add layers to your pattern. IMPORTANT: Let the game create the layer that you just made before making the next one.
Thanks to pyutpi5678 for this idea.