1 | points = new PVector( random(width), random(height) ); |
1 | float dst = dist( points.x, points.y, points[j].x, points[j].y ); |
1 2 3 4 | if ( dst < 255 ) { stroke( 255, 255 - dst ); line( points.x, points.y, points[j].x, points[j].y ); } |
1 2 3 | stroke( 255 ); strokeWeight(4); point( points.x, points.y ); |
欢迎光临 NCF参数化建筑论坛 (http://bbs.ncf-china.com/) | Powered by Discuz! X3.2 |