p5jsTutorial1 / sketch.js
sarahciston's picture
close p5.js instance comma
547ba35 verified
raw
history blame contribute delete
253 Bytes
new p5(function (p5) {
p5.setup = function(){
p5.noCanvas()
console.log('p5 instance loaded')
}
p5.draw = function(){
//
}
})
window.onload = function(){
console.log('DOM loaded, sketch.js loaded')
}