文章链接
微信扫一扫分享
size(300, 300); translate(width/2, height/2); background(55); stroke(255); noFill(); float x = 0, y = 0, n = 6, radius = 10; for (int j=0; j<25; j++) { beginShape(); for (int i=0; i<n; i++) { x = cos(TWO_PI/n*i)*radius; y = sin(TWO_PI/n*i)*radius; vertex(x, y); } endShape(CLOSE); rotate(.05); radius+=5; }复制代码
使用道具 举报
发表于 2023-8-10 09:30:32
发表于 2023-8-10 09:31:36
发表于 2023-8-11 09:52:18
发表于 2023-8-11 09:53:21
本版积分规则 回复 回帖并转播 回帖后跳转到最后一页
© 2013-2025 Comsenz Inc. Powered by Discuz! X3.4 Licensed