円を水平方向中央に配置する shmdmoto forked:46favorite:0lines:20license : MIT License modified : 2010-10-11 00:58:06 Embed Tweet package { import frocessing.display.F5MovieClip2D; /** * 円を水平方向中央にランダムに配置する * @author shmdmoto */ public class GraphicExample extends F5MovieClip2D { public function setup() : void { var i:int; var x:Number; var y:Number; for( i = 1 ; i <=1000 ; i++ ) { x = random( 465 ); y = random( 465 ); if( x > 150 && x < 300 ) { ellipse( x, y, 20, 20); } } } } } Code Fullscreen Preview Fullscreen if shohoku_col20101011 条件分岐 湘北短期大学例題 Math.random int Number sort new page view favorite forked pv113 forked from: 円を水平方向中央に配置する-2 kuzira forked:0 favorite:0lines:20 (diff:2) pv52 forked from: 円を水平方向中央に配置する-1 kuzira forked:0 favorite:0lines:20 (diff:2) pv117 if文⑤ N.YUUKI forked:0 favorite:0lines:20 (diff:2) pv76 forked from: 円を水平方向中央に配置する riju forked:0 favorite:0lines:22 (diff:4) pv68 forked from: 円を水平方向中央に配置する argon forked:0 favorite:0lines:19 (diff:11) pv96 forked from: 円を水平方向中央に配置する ns50f162 forked:0 favorite:0lines:20 (diff:2) tag: 20111107 shohoku_col pv92 forked from: 円を水平方向中央に配置する ns50f162 forked:0 favorite:0lines:20 (diff:1) pv139 forked from: 円を水平方向中央に配置する kwgp131 forked:0 favorite:0lines:20 (diff:2) tag: 2011117 shohoku.cal 1 2 3 4 5 6NEXT