【发布时间】:2015-07-24 05:46:33
【问题描述】:
我编写了一个简单的脚本,它在网格上的随机位置生成三行。每条线都是特定的颜色 - 它用于徽标。我想使用多重混合模式,但它会创建锯齿状图像。有关如何解决此问题的任何想法?
// 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);
【问题讨论】:
-
我运行你的草图时不会发生这种情况。另外,你在处理论坛上也发布了这个吗?如果是这样,请在您的交叉帖子之间链接。
-
看起来
blendMode仍有未解决的问题,因此这取决于您使用的处理版本以及在哪个操作系统上获取更多信息see。此外,由于strokeWeight的价值非常高,您的问题更为严重。 -
我同意@Majlik 的观点——用矩形试试,看看会发生什么。它在我的电脑上渲染得很好(Mac,Processing 3.0a4)。
标签: processing graphical-logo generative-art generative