Created
October 3, 2011 16:33
-
-
Save jneves/1259536 to your computer and use it in GitHub Desktop.
Codebits quiz 4 winning solution
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
with(A.getContext('2d'))new EventSource('events').onmessage=function(e){for(m in a=e.data.split(" "))fillStyle="rgb("+a[m],fillRect(m,o,1,1);o=a<'x'&&o+1} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment