processing / processing/p5.js-web-editor

Website won't work

Open
#3,727 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug Needs Discussion
Dominant language
JavaScript
Stars
1.7k
Forks
1.7k
Avg merge
3d 4h
Merged PRs (30d)
8

Description

p5.js version

No response

What is your operating system?

Windows

Web browser and version

No response

Actual Behavior

I had a very long code saved, but every time I try to go back to the code, the website says unresponsive. I've tried starting a new one with the same code but it sill doesn't work. Even when I paste only half the code, it still says unresponsive.

Expected Behavior

It's not suppose to say unresponsive.

Steps to reproduce

function setup() {
createCanvas(600, 600);
}

function draw()
background("#5A39A3");

// for loop
for (let i = 0; i < 600; i+20) {
console.log("change in i value", i)
}

// arcs

fill("#562174")
strokeWeight(8)
stroke("teal")
arc(0,0,600,600,0,90)

fill("teal")
noStroke()
arc(width,height,600,600,179,270)

// mic
fill("black")
noStroke()
rect(10,120,180,43,12)

fill("rgb(138,138,138)")
circle(200,140,66)

fill("rgb(90,90,90)")
rect(160,120,15,43)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the report in the p5.js Web Editor using the provided sketch and Windows browser setup, then inspect browser errors and editor behavior when reopening or pasting the code. Done means determining whether the editor becomes unresponsive independently of the sketch and documenting a reproducible failure or confirming that the report is caused by the supplied code.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.