
launched a dumb novelty app that detects when you slap your phone
so i had this dumb idea, what if your phone made a sound when you slap it. like physically smack it.
im not a developer btw. i vibecoded the whole thing with cursor and claude. literally just described what i wanted and kept iterating until it worked. the slap detection uses the accelerometer and gyroscope apparently but if you ask me to explain the code line by line i will stare at you blankly lol
the hardest part was prompting correctly tbh. vague prompts gave me terrible detection that triggered from everything. had to get really specific like “detect a sharp acceleration spike followed by rotational change within 100ms and add a cooldown so it doesnt fire multiple times” and then it actually started working
biggest lesson: vibecoding sensor based stuff sucks bc you cant test it in the simulator. had to build to device every single time to see if the slap detection felt right. so many deploy cycles just to adjust one threshold value
anyway the app is called SlapiPhone. its live and people seem to like it which is wild to me








