(Created page with "<source lang="java"> void setup() { size(400, 400); noFill(); } void draw() { int gap = 30; int pos = 228; int maxheight = 303; int thickness = 1; int dx = 163; ...") |
(No difference)
|
Revision as of 18:48, 22 October 2015
void setup() {
size(400, 400);
noFill();
}
void draw() {
int gap = 30;
int pos = 228;
int maxheight = 303;
int thickness = 1;
int dx = 163;
int dy = 186;
background(0);
stroke(255);
strokeWeight(thickness);
line(pos, gap, pos, maxheight - gap);
arc(pos - dx/2, maxheight - gap, dx, dy, 0, PI);
}