def setup background(220) x1 = degrees(PI) x2 = radians(x1) createDiv("#{x1}<br>#{x2}").position(0, 0) end
[p5.js] radians
度数単位で表されている角度の値をラジアン単位の値に変換します。
r : ラジアン単位の値