noStroke

def setup
  background(200)
  noStroke
  rect(20, 20, 60, 60);
end

def setup
  createCanvas(100, 100, WEBGL)
end

def draw
  background(0)
  noStroke
  fill(240, 150, 150)
  rotateX(frameCount * 0.02)
  rotateY(frameCount * 0.02)
  box(45, 45, 45)
end

p5.jsリファレンス(参考情報)

[p5.js] noStroke

概要

図形や文字の境界線を描画しないようにします。

書式

noStroke

引数

なし

戻値

なし

備考

関連