Created
August 31, 2017 01:32
-
-
Save anonymous/a987bda270de689bb107704ddc30f2dd 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
/** | |
*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