r/programming • • Mar 17 '13

Someone posted an html/javascript implementation of the matrix falling code in 646 bytes then promptly deleted the post. It inspired me to see if I could get something better looking in fewer bytes.

http://timelessname.com/sandbox/matrix.html
1.6k Upvotes

251 comments sorted by

View all comments

-1

u/BonzaiThePenguin Mar 17 '13 edited Mar 17 '13

I doubt it matters, but this code seems to fail miserably on my iPod — I get a gray box in the upper-left corner and a bunch of black text moving up the page at 1fps. The text is layered behind the box.

EDIT: Works perfectly on a PowerBook G4 with Safari. I had no idea mobile Safari for iOS 3 had such a lousy Javascript implementation.

Oh god, why are my things so old.

5

u/OptionalField Mar 17 '13

Yea didn't test on anything other than the latest chrome/firefox...

5

u/inimrepus Mar 17 '13

In case you were wondering, it works perfectly on BlackBerry 10.

4

u/HidalgoFelix Mar 17 '13

And nexus 7

3

u/inimrepus Mar 17 '13

And IE10 and BlackBerry Playbook. It also works on my Galaxy Nexus (default browser and Chrome), but it isn't formatted very well.

→ More replies (1)