使い方
code:hello.js
alert("Hello, World!")
https://runp5.com/runp5/使い方/hello.js をクリックすると上のプログラムが動く
https://masui.github.io/runp5/?code=コードのURL
e.g. https://masui.github.io/runp5/?code=https://scrapbox.io/api/code/runp5/使い方/hello.js
code:line.js
function setup(){
line(0,0,100,100)
}
https://masui.github.io/runp5/?code=https://scrapbox.io/api/code/runp5/使い方/line.js
sandbox参照