Skip to content

Instantly share code, notes, and snippets.

@darrenmothersele
Created October 27, 2013 19:18
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 darrenmothersele/7186705 to your computer and use it in GitHub Desktop.
Save darrenmothersele/7186705 to your computer and use it in GitHub Desktop.
colour cycles
background 0
animationStyle paintOver
noFill
strokeSize 10
scale 6
rotate ((time / 2000) % (Math.PI * 2)),((time / 2000) % (Math.PI * 2)) - Math.PI,0
stroke 255,(time % 255),255
ball
rotate 1,- 2 * ((time / 2000) % (Math.PI * 2)) - Math.PI,0
stroke 255,(time % 255),0
ball
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment