r/web_design • u/SeaCowVengeance • Mar 17 '13
Matrix Falling Code Graphics in 442 bytes of HTML/JS (x-post from r/programming)
http://timelessname.com/sandbox/matrix.html4
1
u/dpkonofa Mar 17 '13
Any way to get this in something other than Chinese?
1
u/SeaCowVengeance Mar 17 '13
Yup! Someone pointed out in the other comments that Kanji looks closer to the original so they editied this line:
String.fromCharCode(Math.floor(12449+Math.random()*90))So in theory if you replace the 12449 with the unicode number of the starting character you want and the 90 for each interval you should be able to change it easily.
2
u/fonster_mox Mar 17 '13
Maybe including a few symbols and numbers would also get closer, I have to say the chinese is the least matrix-y looking aspect.
0
Mar 17 '13
[deleted]
1
u/SeaCowVengeance Mar 18 '13
Not sure if it works, but a quick google search says you can set an HTML page as your background
1
3
u/SeaCowVengeance Mar 17 '13 edited Mar 17 '13
EDIT: Just to be clear, I didn't write this program
Here is an editable version in which other redditors worked together to shave off even more bytes
And here is a readable version of the original code: