Created
May 31, 2017 02:46
-
-
Save albertochiwas/ba3a329dea5d29bf5512180872c12cc7 to your computer and use it in GitHub Desktop.
LACLO paper example
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
var av=[new Avatar(12), new Avatar(20)]; | |
var draw = function() { | |
background(200); | |
av[ round(random(0,1)) ].rotate( | |
round(random(0,9)), | |
random(-5,5)); | |
av[0].draw(mouseX, 200); | |
av[1].draw(mouseY, 200); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment