Created
October 27, 2013 20:16
-
-
Save darrenmothersele/7187375 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
background 0 | |
twoPI = Math.PI * 2 | |
animationStyle paintOver | |
noFill | |
strokeSize 10 | |
scale 20 + 5 * (sin((time / 1000) % twoPI)) | |
rotate ((time / 2000) % (Math.PI * 2)),((time / 2000) % (Math.PI * 2)) - Math.PI,0 | |
stroke 255,(time % 255),255 | |
//stroke black | |
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