Last active
October 22, 2015 05:27
-
-
Save pyeseul/a0a4cfc5f8b5b9e85757 to your computer and use it in GitHub Desktop.
Processing Exercise 1
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 setup() { | |
size(640, 640); | |
background(255); | |
fill(0); | |
} | |
void draw() { | |
//y | |
stroke(0); | |
triangle(50, 50, 100, 50, 75, 100); | |
line(75, 100, 50, 150); | |
//e | |
ellipse(125, 75, 50, 50); | |
stroke(255); | |
line(100, 75, 150, 75); | |
//s | |
stroke(0); | |
arc(180, 75, 50, 50, HALF_PI, PI+HALF_PI); | |
arc(180, 125, 50, 50, PI+HALF_PI, TWO_PI+HALF_PI); | |
//e | |
ellipse(225, 75, 50, 50); | |
stroke(255); | |
line(200, 75, 250, 75); | |
//u | |
stroke(0); | |
triangle(250, 50, 300, 50, 275, 100); | |
//l | |
stroke(0); | |
line(310, 50, 310, 150); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment