Inspiration
We wanted to do something with a purple triangle, that scaled and rotated. This is what we came up with.
How it works
Thrust uses your device's accelerometer. If it exceeds a certain threshold, the triangle pulses. If another threshold, determined by the waveform of the audio, is passed while music is playing, you get points as well. Audio is pulled from Soundcloud.
Challenges I ran into
Interestingly, some desktop browsers expose DeviceMotionEvent, but have acceleration values set to zero. The Soundcloud API was also a bit cryptic.
What's next for Thrust
Leaderboards? Local high scores? Just some incentive to keep playing.
Built With
- devicemotion
- html5
- javascript
- paper.js
- soundcloud
- waveform.js
Log in or sign up for Devpost to join the conversation.