Skip to content

Instantly share code, notes, and snippets.

@nervoussystem
Created May 13, 2010 18:56
Show Gist options
  • Select an option

  • Save nervoussystem/400248 to your computer and use it in GitHub Desktop.

Select an option

Save nervoussystem/400248 to your computer and use it in GitHub Desktop.
current_circle.add(random(-max_move, max_move),random(-max_move, max_move),0);
//add x,y force
current_circle.add(force_x,force_y,0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment