#08:色の設定 - background()、colorMode()、stroke()、fill()
このチャプターでは、色の設定方法について学習します。
size()
https://processing.org/reference/size_.html
circle()
https://processing.org/reference/circle_.html
line()
https://processing.org/reference/line_.html
background()
https://processing.org/reference/background_.html
colorMode()
https://processing.org/reference/colorMode_.html
stroke()
https://processing.org/reference/stroke_.html
noStroke()
https://processing.org/reference/noStroke_.html
fill()
https://processing.org/reference/fill_.html
メニューバーから「ツール」「色選択」で表示される
size(720, 480);
strokeWeight(10);
circle(250, 200, 150);
line(250, 150, 250, 100);
strokeWeight(12);
circle(360, 240, 200);
line(360, 180, 360, 100);
size(720, 480);
colorMode(HSB, 360, 100, 100);
background(23, 99, 99);
stroke(250, 99, 99, 128);
fill(100, 99, 99, 128);
strokeWeight(10);
circle(250, 200, 150);
line(250, 150, 250, 100);
strokeWeight(12);
circle(360, 240, 200);
line(360, 180, 360, 100);