Enter the number of confettis at the start, and then press space to respawn them.
I made something like this on my calculator and thought I'd transfer it here. 100% Me Feel free to use with credit, and tell me so I can check out your awesome projects!