我编写了一个简单的脚本,可以在网格上的随机位置生成三条线。每条线都有特定的颜色 - 用于徽标。我想使用多重混合模式,但它会产生锯齿状图像。关于如何解决这个问题有什么想法吗?
// 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);