This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//<canvas id=canvas> | |
//original source : http://timelessname.com/sandbox/matrix.html | |
//set the canvas to take the entire screen | |
canvas.height = window.screen.height; | |
canvas.width = window.screen.width; | |
//one entry in the array per column of text | |
//each value represent the current y position of the column. (in canvas 0 is at the top and positive y values go downward) | |
var columns = [] | |
for (i = 0; i < 256; columns[i++] = 1); |