Open
Description
p5.js version
1.11.1
What is your operating system?
Windows
Web browser and version
81b36b9535e3e3b610a52df3da48cd81362ec860-refs/branch-heads/6778_155@{#8}
Actual Behavior
When I wrote noCanvas in setup() function I got an error about parenticies. When removed this line evrything worked fine and the canvas didn't appear
Expected Behavior
Expected to get no error
Steps to reproduce
Steps:
- write loadStrings
- write noCanvas()
- Run code
// Paste your code here :)
let txt;
function preload() {
txt = loadStrings('Textic.txt');
}
function setup() {
// noCanvas() was here
console.log(txt)
}
Activity