日常の進捗

書くし、描くし、足掻くし

現在の描画力

f:id:takawo:20170731173236j:plain f:id:takawo:20170731173229j:plain

実紙に実ペンで実線を引くと実に揺れる。現実と理想

size(960, 720);
colorMode(HSB, 360, 100, 100);
background(0, 0, 100);
strokeCap(PROJECT);
int i = 0;
translate(0,height/16/2);
for (float y = 0; y < height; y += height/16) {
  float x = map(i, 0, 17, width, width/3);
  strokeWeight(height/16);
  if (i%2== 0) {
    stroke(0, 80, 100);
  } else {
    stroke(0, 10, 80);
  }
  line(0, y, x, y);
  line(x+height/16/2, y, x+height/16/2, y+height/17);
  line(x, y+height/17, width, y+height/17);

  i++;
}
size(960, 720);
colorMode(HSB, 360, 100, 100);
background(0, 0, 100);
strokeCap(ROUND);
float offset = 40;
for (int i = 0; i < 5; i++) {
  float x = map(i, 0, 5, offset, width/2-offset);
  if (i%2==0) {
    stroke(0, 80, 100);
  } else {
    stroke(0, 10, 80);
  }
  strokeWeight(offset);
  line(x, offset, x, height-offset);
}

for (int i = 0; i < 5; i++) {
  if (i%2==0) {
    stroke(0, 80, 100);
  } else {
    stroke(0, 10, 80);
  }
  strokeWeight(offset/2);
  float x = map(i, 0, 5, width/2, width*3/4-offset);
  line(x, offset, x, height-offset);
}

for (int i = 0; i < 5; i++) {
  if (i%2==0) {
    stroke(0, 80, 100);
  } else {
    stroke(0, 10, 80);
  }
  strokeWeight(offset/4);
  float x = map(i, 0, 5, width*3/4+offset, width-offset);
  line(x, offset, x, height-offset);
}