Skip to content

Instantly share code, notes, and snippets.

@tmcw
Created September 1, 2013 03:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmcw/6402113 to your computer and use it in GitHub Desktop.
Save tmcw/6402113 to your computer and use it in GitHub Desktop.
turtle(function(t) {
return [200, 400, 100].map(function x(a) {
return function(t) { return ~~((Math.sin(t/a) * 1800) / 50) * 8; }
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment