リ・ソ・ン・ニ

f:id:osushi_94:20180722114844j:plain


「リ」と「ソ」と「ン」と「ニ」の境界線とは?

size(800, 800);
background(235, 235, 230);
int masu =30;
for (int i = 0; i < width; i+=masu) {
  for (int j = 0; j < height; j+=masu) {
    pushMatrix();
    translate(i + (masu/2), j + (masu/2));

    //rectMode(CENTER); rect(0,0,masu,masu);//チェック

    stroke(15, 10, 10);
    strokeWeight(3);
    line(random(-10, 5), random(-10), random(-5), random(-5, 5)); //左側
    line(random(10, 8), random(-8), random(-10, 1), random(15, 20));

    popMatrix();
  }
}

save("リソン二.jpg");