GMU:Wild Type/Part1

From Medien Wiki
< GMU:Wild Type
Revision as of 18:48, 22 October 2015 by Ms (talk | contribs) (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; ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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);
  
}