700| 0
|
[项目] 漂亮的旋转图 |
def setup(): size(600,600) rectMode(CENTER) colorMode(HSB) t=0 def draw(): global t background(255) translate(width/2,height/2) rotate(radians(t)) for i in range(90): pushMatrix() translate(200,0) rotate(radians(t+2*i*360/90)) noFill() stroke(i,255,255) triangle(0,-100,100*sqrt(3)/2,100/2,-100*sqrt(3)/2,100/2) popMatrix() rotate(radians(360/90)) t+=0.5 |
triangles 2024-03-25 10-12-28.mp4
7.21 MB, 下载次数: 3647
© 2013-2024 Comsenz Inc. Powered by Discuz! X3.4 Licensed