Skip to content

Instantly share code, notes, and snippets.

Created August 30, 2017 01:42
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 anonymous/4d9fd195387fe24d018cd49a2edb985e to your computer and use it in GitHub Desktop.
Save anonymous/4d9fd195387fe24d018cd49a2edb985e to your computer and use it in GitHub Desktop.
frameRate (5);
//creates a slow animation, hence the name "trippy"
}
drawTrippySequins (i, j);
}
}
}
//creates function with i,j parameters
void drawTrippySequins (int i, int j) {
ellipse(i, j, 80, 80);
stroke (random(255), random(255), random(255), 2);
fill(random(255), random(255), random(255));
//randomizes colour of fill and line
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment