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.
+3 −2
Diff settings

Always

Just for now

Viewing a subset of changes. View all

Formulas with constants; yum!

  • Loading branch information...
pvdz committed Feb 18, 2016
commit 592ba6b21184b3f8d179b7822748486cd1629379
View
@@ -126,7 +126,7 @@ <h1>
// THIS IS WHERE YOUR DEMO GOES
down from 1600 to 1550 (regpacked)
//down from 1600 to 1550 (regpacked)
var a, b, c, d;
@@ -288,7 +288,8 @@ <h1>
var dtan = ATAN2(dy, dx);
// update speed
var acc = (1 - (d / 1000)) * 2;
var acc = 2-d/500;
vx = (vx - COS(dtan) * acc) * F;
vy = (vy - SIN(dtan) * acc) * F;
ProTip! Use n and p to navigate between commits in a pull request.