tim
Master
- Joined
- Nov 22, 2006
- Messages
- 1,692
- Location
- Karlsruhe, Germany
- WCA ID
- 2007HABE01
- YouTube
- Visit Channel
Hey!
Since I make great use of mark2 for Cubemania, I'd like to give something back to the community:
I spent my entire Saturday hacking on a small library which provides access to the Stackmat timer from within JavaScript (no Flash or Java required!). This is done by using the HTML5 Web Audio API.
Supported browsers:
* Chrome (version > 21)
A quick demo: http://jsfiddle.net/q97Zc/
Github link: https://github.com/timhabermaas/stackmat.js
Be aware: It's still pre-alpha — in fact it doesn't even have a version number, yet. So, it's probably totally broken.
I'm not too happy with the public API. Maybe polling for updates instead of firing callbacks is more convenient? I'd like to hear some feedback!
Big thanks to:
- Florian W. for his documentation on the Stackmat protocol: http://hackvalue.de/hv_atmel_stackmat
- Walter for PPT. I peeked more than once into his stackmat code.
- Vino for his idea of using the Audio API in combination with a Stackmat timer.
- Thomas Müller for lending me his Stackmat timer.
Since I make great use of mark2 for Cubemania, I'd like to give something back to the community:
I spent my entire Saturday hacking on a small library which provides access to the Stackmat timer from within JavaScript (no Flash or Java required!). This is done by using the HTML5 Web Audio API.
Supported browsers:
* Chrome (version > 21)
A quick demo: http://jsfiddle.net/q97Zc/
Github link: https://github.com/timhabermaas/stackmat.js
Be aware: It's still pre-alpha — in fact it doesn't even have a version number, yet. So, it's probably totally broken.
I'm not too happy with the public API. Maybe polling for updates instead of firing callbacks is more convenient? I'd like to hear some feedback!
Big thanks to:
- Florian W. for his documentation on the Stackmat protocol: http://hackvalue.de/hv_atmel_stackmat
- Walter for PPT. I peeked more than once into his stackmat code.
- Vino for his idea of using the Audio API in combination with a Stackmat timer.
- Thomas Müller for lending me his Stackmat timer.
Last edited: