Hacker News new | past | comments | ask | show | jobs | submit login

Does it work with whistling? You could control your mouse like that character from Guardians of the Galaxy!



Yes, I made a game that you controlled by whistling, back in 2018 with the WebAudio API.

My version of the cursor kept a continuous scan velocity horizontally across the screen, and you controlled the y-axis via pitch. Button presses were (intentional) collisions.


I made a game like this the other day just for fun! It worked pretty well but it's more of a novelty and not really fun to whistle for more than 30s.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: