maaslalani / confetty

Confetti in your TTY
MIT License
413 stars 18 forks source link

[Feature] Moving starting point (e.g. using arrow keys) #11

Open artginzburg opened 2 years ago

artginzburg commented 2 years ago

I was just a bit confused when I found out that pressing any key casts a new confetti, but pressing arrow keys doesn't do anything different from any other key.

I'd intuitively expect arrow keys to move the confettis in any direction. Or at least left/right, which would be even more expectable from fireworks since they're launched from bottom to top. By the way, moving fireworks horizontally "mid-air" just sounds dynamic and cool.

I have not tried to implement this myself (yet?), but since fireworks are launched from a random point that is (!) available on the screen, and the confettis are centered relative to the screen, I take it as not too hard of a task.

P.S. The confettis remind me of cmatrix

maaslalani commented 2 years ago

This is a great idea to make confetty more interactive!

Perhaps we can add a space-invader type shooter mode where you control the fireworks being launched through a launcher that you can move launch and then choose to explode on the screen 😄

Thank you for the idea!