Skip to content

Instantly share code, notes, and snippets.

@jadehopepunk
Last active January 3, 2018 05:55
Show Gist options
  • Save jadehopepunk/837c045538525644a5050012fdf667eb to your computer and use it in GitHub Desktop.
Save jadehopepunk/837c045538525644a5050012fdf667eb to your computer and use it in GitHub Desktop.
function animate(pos, direction, delta) {
return pos.plus(direction.scaleBy(delta))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment