LoginSignup
1
0

More than 5 years have passed since last update.

Processing - 06 - rectとforを使った描画

Posted at

スクリーンショット 2018-02-03 23.26.46.png

size(400, 400);
background(255);
colorMode(HSB,100);
noStroke();

for (int i=0; i<10; i++) {
  fill(100,10*i,99);
  rect(0, 0, width - 40*i, height - 40*i);
}
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0