Skip to content

Instantly share code, notes, and snippets.

Created August 31, 2017 01:32
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/a987bda270de689bb107704ddc30f2dd to your computer and use it in GitHub Desktop.
Save anonymous/a987bda270de689bb107704ddc30f2dd to your computer and use it in GitHub Desktop.
/**
*The integer would continously add until it reaches the max limit, where the
*bezier command would create curved/normal lines to the max based on the locations
*provided. The vortex shape also follows the bezier's example but is in the
*form of a vortex instead and blends in with the previous shape and looks
*like a bunch of lines
*/
void drawsomething(){
for(int i = 2; i < 900; i = i + 4){
for(int q = 1; q < 1000; q = q + 400){
noFill();
stroke(0);
bezier(i , q, 340, 200, 300, 100, 500, 700);
strokeWeight(1);
stroke(255);
beginShape();
vertex(500, 90);
bezierVertex(q +90, i+20 , 90, 40, 20, 5);
endShape();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment