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 261 commits into from Jul 21, 2016
Jump to file or symbol
Failed to load files and symbols.
+1 −2
Diff settings


Just for now

Viewing a subset of changes. View all

which means we can cut away the curlies

  • Loading branch information...
pvdz committed Feb 26, 2016
commit 44297d5aeaaf201f1dca8a41fbf3df849cb48414
@@ -216,7 +216,7 @@ <h1>
// mk = pixel distance between pix, 200 = max number of particles. will be less: M/ceil(M/K) (-~x is close enough to ceil for this to work)
// X += mk; if (X > M) X=0, Y+=mk; loop if Y<M. oh and also ++i
for (;X<M?X+=K=-~(M/200):X=(Y+=K)<M;++i) {
for (;X<M?X+=K=-~(M/200):X=(Y+=K)<M;++i)
p = P[i] = P[i] || {x: N, y: N},
// if data[x+0], the space is occupied by a letter. set u so the pixel joins the moving "atom".
@@ -233,7 +233,6 @@ <h1>
p.y+=p.B= ~~p.B*.9 + r() - j(d) * K,
c.fillRect(~~p.x, ~~p.y, z = u?K:Q ? K*2 :~p.A+~p.B, z)
ProTip! Use n and p to navigate between commits in a pull request.