processing / processing/p5.js-web-editor
Error from noCanvas()
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.7k
- Forks
- 1.7k
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 8
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)
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the report in the p5.js Web Editor using preload() with loadStrings(), followed by noCanvas() in setup(), and capture the exact error and browser details. Trace the editor behavior around this sketch execution; done means the reported example runs without an error while still producing no canvas.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100