Thank you for playing the game!
If you approach the gate with the the exact same pile of triangles collected, it should open, there is nothing to fill up in the gate. It's a memory game :).
AHH! That makes a lot more sense. Thank you!
Edit: Thank you for telling me that! The gameplay was super fun :D