Skip to content

Instantly share code, notes, and snippets.

@albertochiwas
Created May 31, 2017 02:46
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 albertochiwas/ba3a329dea5d29bf5512180872c12cc7 to your computer and use it in GitHub Desktop.
Save albertochiwas/ba3a329dea5d29bf5512180872c12cc7 to your computer and use it in GitHub Desktop.
LACLO paper example
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