Skip to content

Instantly share code, notes, and snippets.

@drusepth
Created March 7, 2014 05:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drusepth/9405626 to your computer and use it in GitHub Desktop.
Save drusepth/9405626 to your computer and use it in GitHub Desktop.
sleepsort in disguise
// Create staggered JS events to handle the reading automagically
$.each(words, function (word_index, word) {
setTimeout(function () {
display_word(word, {
'left': left,
'pivot': center,
'right': right
});
}, word_index * WORD_VISIBLE_TIME);
});
@jbury
Copy link

jbury commented Mar 7, 2014

Wat

@drusepth
Copy link
Author

drusepth commented Mar 7, 2014

@ForLnex come at me bro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment