-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error from noCanvas() #3316
Comments
Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already. |
Hey @Ttimurttt , sorry for the late reply! Could you please provide a screenshot or a video showing how you're encountering the issue and the error message in the console? I have tested both the OS and web versions but haven't been able to replicate the problem |
@raclim I have thoroughly reviewed the issue description and attempted to replicate it, but I found no actual issue in the P5 repository or library. It appears to be a misunderstanding of the concept from the client's side. Could you please review and close the issue? |
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:
// Paste your code here :)
let txt;
function preload() {
txt = loadStrings('Textic.txt');
}
function setup() {
// noCanvas() was here
console.log(txt)
}
The text was updated successfully, but these errors were encountered: