noStroke

概要

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

[p5.js] 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

構文

戻値