New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Step branch #1

Merged
merged 261 commits into from Jul 21, 2016
Commits
Jump to file or symbol
Failed to load files and symbols.
+2 −3
Diff settings

Always

Just for now

Viewing a subset of changes. View all

1.26 / 1210 / 1123; cant believe it took me so long to fix this. i fe…

…el cheated though, this should save 5 bytes. welcome to the roulette
  • Loading branch information...
pvdz committed Feb 26, 2016
commit 5bc2b94a591b66d9c3d043cd6b34010c5e0af063
View
@@ -127,7 +127,7 @@ <h1>
// https://closure-compiler.appspot.com/home
// http://siorki.github.io/regPack.html
// 1.26 / 1213 / 1126 (closure compiler / regpacked, with / without wrappers and vars decls)
// 1.26 / 1210 / 1123 (closure compiler / regpacked, with / without wrappers and vars decls)
var a; // canvas element (passed on)
@@ -203,8 +203,7 @@ <h1>
!function _R(){
drawTextOrClear(Z++%150 ? I : I = c.getImageData(0, 0, M, M,
// this changes the current symbol
// TODO: replace E.length with 118 (doh)
drawTextOrClear(s = E[S= ~~(r() * E.length)]),
drawTextOrClear(s = E[S= ~~(r() * 118)]),
// TODO: can pass on an index rather than C[index] to save 2x3 bytes
drawTextOrClear(1, 1, C[2], S+1),
// note: using `'='` and `'('` here to use as explicit minifier hack later
ProTip! Use n and p to navigate between commits in a pull request.