Hacker Newsnew | past | comments | ask | show | jobs | submit | Okazari's commentslogin

I know it's a bit gross. I made this on stream and just wanted to share :)


Did it work as you expected ?


Better than expected! I've never finger drummed anywhere and got immediate VISUAL feedback. Usually I get an aural feedback in the form of "STOP THAT TAPPING".


Why don't you try to contribute by adding this kind of dance ? Could be challenging but really fun ! (Check out the "Contributing" part README, adding a dance should be easy)


bookmarked the README to look at later. challenging part would be a polyfill using snap.svg or something like that for browsers that dont support otvar well (basically all of them except chrome canary and the webkit nightly)


Wow awesome link ! I will try this out for sure :p !


Could you fill up an issue on github with all your specifications ? I think this is worth investigating.


The other answer show exactly the good code lines.

To describe it fast : I keep an history of frequency (size customable) and compare the subscribed frequency range to its relative history max / min value. I get a percentage out of it that i give to the dance function associated to this specific class.


There is library to make easter eggs using konami code. My company did use it along with rythm.js if you want to check it out. https://www.zenika.com


You're right :), Rhythm.js were taken and Rythm is close to the initial french spelling.


Sorry my bad didn't google it properly first, not a spelling nazi - it just makes my brain hurt to look at it.

js library names has become like domains now - everything already taken, boing.js, bounce.js, pulse.js, throb.js, even wubwub.js - hey how about palp.js? meh...no rythm.js is better :) there were too many haches in that word anyway.


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

Search: