Skip to content

Instantly share code, notes, and snippets.

@NuckChorris
Created April 10, 2012 16:15
Show Gist options
  • Select an option

  • Save NuckChorris/2352532 to your computer and use it in GitHub Desktop.

Select an option

Save NuckChorris/2352532 to your computer and use it in GitHub Desktop.
Pon De Floor timers
module.exports = [
{
"time": 38,
"text": "MAJOR LAZER"
},
{
"time": 45,
"text": "PON DE FLOOR"
},
{
"time": 46,
"duration": 29,
"frequency": 7,
"func": function (time) {
// oooOOOOoooooOOOOoooo
var out = '';
for (var i = 0, l = 3 + Math.round(Math.random() * 5); i < l; i++) {
out += Array(2 + Math.floor(Math.random() * 6)).join('O');
out += Array(2 + Math.floor(Math.random() * 6)).join('o');
}
return out;
}
},
{
"time": 77,
"duration": 10,
"frequency": 5,
"text": "BABY GET IN LINE, LET ME SEE YOUR BESTEST WINES"
},
{
"time": 90,
"duration": 10,
"frequency": 5,
"text": "PON DE FLOOR, ANYWAY"
},
{
"time": 106,
"duration": 44,
"frequency": 7,
"func": function (time) {
// oooOOOOoooooOOOOoooo
var out = '';
for (var i = 0, l = 3 + Math.round(Math.random() * 5); i < l; i++) {
out += Array(2 + Math.floor(Math.random() * 6)).join('O');
out += Array(2 + Math.floor(Math.random() * 6)).join('o');
}
return out;
}
},
{
"time": 159,
"text": "MAJOR LAZER"
},
{
"time": 160,
"duration": 10,
"frequency": 5,
"text": "BABY GET IN LINE, LET ME SEE YOUR BESTEST WINES"
},
{
"time": 175,
"duration": 47,
"frequency": 7,
"func": function (time) {
// oooOOOOoooooOOOOoooo
var out = '';
for (var i = 0, l = 3 + Math.round(Math.random() * 5); i < l; i++) {
out += Array(2 + Math.floor(Math.random() * 6)).join('O');
out += Array(2 + Math.floor(Math.random() * 6)).join('o');
}
return out;
}
},
{
"time": 199,
"text": "BEEP BEEP BEEP BEEP"
}
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment