Skip to content

Instantly share code, notes, and snippets.

@m1el
Created February 26, 2013 11:42
Show Gist options
  • Save m1el/5037894 to your computer and use it in GitHub Desktop.
Save m1el/5037894 to your computer and use it in GitHub Desktop.
F = '86670S050s0Sp`0Js5)LxeT0)0C0.Rsh,Jfc02020.RsiW090,Rsh:00T#*jge0bRQQdxKhvs0QQC00b9l)Wfc0pw`00S0C0Sg[%ege%S00cg[ j-Dsts0SJfc0S\n$qtud0TbR$\n+.0)*ZgV0)JWeT0sIRcgK0/Xfb4\\v'.split(0);
f = "`00000000spring00000000`00000000is0in0the0air0000000write0here00000000000000000";
for (Z in a)
a[Z[0] + (Z[6] || Z[2])] = a[Z];
W = c.width = 375;
H = c.height = 500;
Z = b.bgColor = 12;
with(a) {
L = function (d, h, g, e) {
ba();
mv(d, h);
ln(g, e);
sr()
};
fillStyle = '#FFF';
fc(0, 0, W, H);
fillStyle = '#000';
for (x = Z; x--;)
ba(),
arc(x * 42, 19, Z, 0, 6.3, 1),
fl(),
fc(x * 42 - 6, 0, Z, Z);
strokeStyle = '#00F';
globalAlpha = .3;
y = H;
for (x = Z; x--;)
L(0, y, W, y),
L(0, y - Z, W, y - Z),
y -= 50;
strokeStyle = '#F00';
L(42, 0, 42, H);
lineWidth = 2.2;
strokeStyle = '#000'
}
x = 72;
y = 95;
onkeydown = function (d, h, g, e) {
R(d.keyCode - 64)
};
R = function (d, h, g, e) {
Z +=
(0 > d)
? '01'
: F[d] + 1
};
for (i in f)
R(f.charCodeAt(i) - 96);
setInterval(function (d, h, g, e) {
if (p = Z.charCodeAt())
Z = Z.slice(1),
8 > p
? Z = p ^ 4
? F[p + 26] + Z
: 77 + F[p + 26] + Z
: p ^ 48
? p ^ 49
? p ^ 50
? p ^ 54
? p ^ 55
? p ^ 56
? L(x, y, x += 1.25 * ((p >> 4) - 3), y += 1.25 * (p % 16 - 7))
: y -= 22
: (x += 5.5, y -= .63)
: (x -= 30, y -= 4)
: (a.ba(), a.arc(x + 5, y - 12, 2, 0, 6.3, 1), a.sr())
: x > W - 30 && (x = 42, y += 50)
: x += 10
}, 22);
@m1el
Copy link
Author

m1el commented Feb 26, 2013

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