Last active
December 18, 2016 04:57
-
-
Save Limeliz/400b1f5026ebb7c52835666d647cc4de 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 shape of the big saucer in Asteroids | |
beginShape(LINES); | |
// Saucer centered around body | |
vertex(-3, -12); | |
vertex(3, -12); | |
vertex(3, -12); | |
vertex(7, -6); | |
vertex(7, -6); | |
vertex(13, 0); | |
vertex(13, 0); | |
vertex(7, 6); | |
vertex(7, 6); | |
vertex(-9, 6); | |
vertex(-9, 6); | |
vertex(-14, 0); | |
vertex(-14, 0); | |
vertex(-7, -6); | |
vertex(-7, -6); | |
vertex(-3, -12); | |
vertex(-7, -6); | |
vertex(7, -6); | |
vertex(-14, 0); | |
vertex(13, 0); | |
/* | |
// Saucer centered | |
vertex(-3, -9); | |
vertex(3, -9); | |
vertex(3, -9); | |
vertex(7, -3); | |
vertex(7, -3); | |
vertex(13, 3); | |
vertex(13, 3); | |
vertex(7, 9); | |
vertex(7, 9); | |
vertex(-9, 9); | |
vertex(-9, 9); | |
vertex(-14, 3); | |
vertex(-14, 3); | |
vertex(-7, -3); | |
vertex(-7, -3); | |
vertex(-3, -9); | |
vertex(-7, -3); | |
vertex(7, -3); | |
vertex(-14, 3); | |
vertex(13, 3); | |
*/ | |
endShape(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment