createElement

概要

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

[p5.js] createElement

サンプル

def setup
  background(220)
  h5 = createElement('h5', 'im an h5 p5.element!')
  h5.style('color', '#00a1d3')
  h5.position(0, 0)
end

構文

戻値