我编写了一个简单的脚本,它在网格上的随机位置生成三行。每条线都是特定的颜色 - 它用于徽标。我想使用多重混合模式,但它会创建锯齿状图像。有关如何解决此问题的任何想法?
// open_lab_logo
size (900, 900); smooth();
background (255);
blendMode(MULTIPLY);
strokeWeight(100);
float x1 = random(1, 8) * 100;
float y1 = random(1, 8) * 100;
float x2 = random(1, 8) * 100;
float y2 = random(1, 8) * 100;
float x3 = random(1, 8) * 100;
float y3 = random(1, 8) * 100;
float x4 = random(1, 8) * 100;
float y4 = random(1, 8) * 100;
stroke(#FFDB23); line(x1, y1, x2, y2);
stroke(#E41F7B); line(x2, y2, x3, y3);
stroke(#00A8E4); line(x3, y3, x4, y4);