Created
August 31, 2017 11:39
-
-
Save anonymous/052f2241067367bf1afc383d7316361c 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
void atom() { | |
translate(width/2, height/2); // changes the location of 0,0, or origin | |
for (int x = 0; x<50; x++) { // does this 50 times.. change to get different effect | |
rotate(radians(100)); // rotates the canvas by n degrees and converts to radians to get different effects | |
ellipse(10, 0+(x*4), 100, 400); //draws an ellipse | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment